Wednesday, August 29, 2007

Adventures in Drive Imaging: Part 2 - Making a Need for the Image

Well, now that I've got a new drive image, what's the point if the computer is working well?

I could install viruses.. virii... uhm... malware, but I'd rather not, so I won't.

Instead, I'm going to install Linux! Ubuntu 7.04 desktop to be exact. I'm running it on my laptop at home and I really like it. I've been running Ubuntu for a few years now, and it is great for lazy people like me who want to ease into a new area. Now that I'm used to the interface I'm getting more comfortable with the command line. It is like Linux with training wheels, but like any good kids bike, not only is it free if you can run fast, but you can also take the training wheels off when you are comfortable with it.


I popped in the Desktop CD, checked its integrity, and it seems like a pretty stand-up CD so I went into the live CD environment. Everything booted fine, I've got a good 1280x1024 display by default (unlike Windows' 1024x768 default on the same machine) so I went ahead and double-clicked the installer.

I think there were like 6 choices to make, such as what language I speak, and what language keyboard I use, and what time zone I'm in, then it asked me about the drive to install it on. I selected the option that wipes the entire drive and installs Ubuntu on it (since that is the simplest)

It seems to be stuck on the "downloading package list" part, which makes since, since it is plugged into the corporate network which won't let it on the internet until I assign it a static IP.... oops... clicking "skip".

Now it is finishing up the install, which should take another 30 seconds or so. (Pretty quick on this AMD Athlon 64 X2 machine)

I am now restarting into a nice reliable non-networked Ubuntu machine, giving it an IP address, then restarting for grins. Oooh! 78 updates!

The crazy part, after installing them all and restarting, there shouldn't be any more updates after that... they roll them up quite intelligently rather than having me update, reboot, update, reboot, rinse, lather, repeat. Like other operating systems I know. (emphasis on plural... Windows isn't the only non-free popular operating system that has done this to me...)

Anyway, long-story short, I installed Linux. It took about 30 minutes because I wasn't paying attention to the fact that it was trying to download stuff when I had it blocked at the router from seeing the internet. Oops...

Join us tomorrow for the conclusion - Reluctantly Restoring, where we will attempt to go from Linux to Vista in less than an hour.

(It is impressive considering it will have all of the exact preferences, user accounts, passwords, etc. that I set it up with previously. If this all works, we'll be installing XP and making an image of that, since I'm not ready for Vista yet.)

Adventures in Drive Imaging: Part 1 - Making the Image

Somehow I have gotten to this point without ever making an Ultimate Boot CD for Windows. Well, that all changed this morning when I made my first "UBCD4Win". The only customization I did was to update AVG Free Edition with the latest virus definitions. (making this CD obsolete tomorrow, rather than last month)

It looks like I could even have installed Kapersky if I wanted to spend the $$. Cool.

The idea behind UBCD4Win is the same as BartPE, to the extend that I don't know the difference, other than I installed UBCD4Win rather than BartPE, purely by chance.

What's this got to do with imaging? Well, I'd tell you, but I'm too busy getting off topic.

By restarting the computer with my UBCD4Win in the drive I was presented with a weird version of Windows XP that doesn't run off the Hard Drive, instead it runs from the CD and from memory. (So make sure you have enough RAM, or this could potentially be uncomfortably slow!)

I've got 1GB of RAM in this machine, and it worked just fine.

It has Drive Image XML and Self Image in the package, and while I've only used Drive Image XML, I was more curious about Self Image because it also grabs the boot sector, cool!

So step 1 was to make a Drive Image XML copy of each hard drive partition from the computer to an external USB drive. (Since I'm comfortable with Drive Image XML, I felt it would be a safe "backup")

Step 2 was to use Self Image to copy the entire disk (including 2 extra partitions HP made to contain restore software and drivers) using Self Image. Because I wasn't using the hard drive, none of the files were in use, so it was quick and reliable.

Step 3 was to re-do step 2, but this time with an NTFS enabled USB drive, since the final file (for this 75GB Hard Drive) was around 22GB, and FAT 32 only supports around 4GB per file. (boo FAT 32!)

And, that anticlimactically concludes Part 1 of Adventures in Drive Imaging. Visit us next time for Part 2 - Making us need the image, where I will describe how I formatted the whole drive and installed Linux, just to make sure I totally changed the Hard Drive's contents and layout.

Thursday, May 17, 2007

Making my own intranet, Part 1

The General Idea
So I've decided to make my own intranet, eh? (oh wait... I'm not Joe Burns)

I have decided to make my own intranet at work, and have opted against out-of-the-box solutions because I plan on doing some heavy development on little projects here and there that I want to integrate nicely into the intranet.

Since I'm having fun doing this, I thought I'd describe just what I'm doing to make my life a little bit easier.

The Content Management System (CMS) Idea
First off, I wrote my own CMS which is uber-lame. It is a table that looks up the URL in a database and lets the database tell it the title of the page, whether or not the page is available or not, and it gives it a small string which is a path and file prefix for the actual content of the site...

Yeah, I'm horible at describing things, so let's start with an example, if you go to http://ourserver/intranet/myhr/ then it looks up "/intranet/myhr" in the database to find the following data:
title: "My HR"
file: "myhr"
enabled: y

Yay, we have a title and it is enable, things are looking good!

Now it goes to my super top-secret folder that is not accessible via the web and looks for the following files:

myhr.head.php
myhr.content.php
myhr.tail.php

The head is called before anything is displayed on the screen, but right after sessions have been started.

The content is what is displayed in the middle of the page... this should really do nothing more than display what was processed in the head.

The tail is the file included at the bottom of the page, which I doubt I'll use much other than to include javascript calls that need to be made at the end of the document.

The content page is required, but the head and tail are optional. If the content page does not exist, it displays an error page instead... if I were smart, I would send 404 headers in the notfound.head.php file, just to maintain standards.

The Cool Idea(s)

Cool idea 1: tossing the milk when it goes bad

I've also got launch and expiration dates in the page table, so the page only displays during the time it should be displayed... I will probably also write a script to browse the database for pages that are nearing expiration to send me an email reminder, which means I can set a 1 year expiration on every content page if I wanted to, then have it remind me in a year to review the content for accuracy then make changes and extend the expiration date.

Cool idea 2: group-based access
I've always enjoyed user and group-based access levels, and with the magic of Active Directory, LDAP, PHP, and some out of date trail mix I've been able to do just that! (and get a stomach ache)

Basically I've thrown together a short script that authenticates usernames and passwords against LDAP (which is pointed at our Active Directory domain controller) and after authenticating I'm grabbing the "memberof" attribute of the user since I've already got a valid ldap bind.

This means I can take all of the users and groups I'm already managing for file permissions and use those same users and groups to manage permission on the intranet! Wo0t!

Cool idea 3: wiki-style page creation
Quite possibly the second-coolest idea (sorry, but that ldap thing is cool !), adding some code in the page-not-found script to add a "create this page" link if the logged in user is a member of the intranet admin group!

I could also add an "edit this page" link at the bottom of each page, or possibly just assign a shortcut key or something to edit the page.

I would do 99% of my coding in the Zend Development Environment anyway, but man it would be nice to manage user permissions, expiration dates, and things of that nature in a nice GUI other than phpmyadmin!

More to come...

Sunday, April 22, 2007

U7.04 Step 2: Boot and Install

Ubuntu 7.04 Install Step 2:
Boot and Install
On to the fun stuff! After downloading and Burning to CD I booted the live CD on my HPzv6000 laptop and pressed F4 at the boot menu to change the VGA mode to 1024x768 (even though I would later need to up it to 1280x800 to fill the screen). I've just had really good luck using the max resolution on flat-panel monitors because some old hardware doesn't appear to tell the Ubuntu CD what the acceptable resolutions are, so it defaults to 640x480, or something else that isn't supported. Either way, it did the trick!

It booted into the live mode, and of course didn't recognize the wifi card, but thank intellectual property rights and lazy hardware manufacturers for that. I plugged it into one of the free ports on my wireless router and it quickly recognized the internet and got an IP via dhcp. (yay!)

I double-clicked the install, not caring if anything else worked in live mode, because I'd be using a different partition anyway.

Following the steps I kept clicking "forward" until I got to the step that tries to partition my drive for me.

Because I pre-planned when installing windows on it, I had a 30GB partition waiting for Linux. (and another 20GB partition for a FAT 32 system that would share files between Linux and Windows).

After configuring the partitions (a 1024MB SWAP and the rest of the 30GB for an ex3 "/") I clicked next, and it actually showed my two accounts (one for myself and one for my wife) from Windows XP. I chose to migrate both of our Firefox settings and our "My Documents" folder. (photos and music are primarily stored on the machine I'm using to post this, which currently runs XP Pro.)

I set up my account as the default account, gave it a name (penguinshark, since I've got a shark-themed network and I want to distinguish between the windows version "tigershark" and the linux version "penguinshark"... kind of lame, since the rest are real sharks, but hey, the only thing cooler than a penguinshark would be a ninjashark, but we all know ninjas are not fans of open-source, so you take what you can get.), and I even told it I want to participate in some package surveying thing. (had to click "more options" or "advanced" or something to get to that checkbox.)

After reviewing all the settings I clicked "Next" and when it started formatting, partitioning, and installing I realized I should have been documenting it, so here I am, documenting after-the-fact trying to remember as much as possible.

I apologize to you three reading this if I left anything out.

U7.04 Step 1: Download Ubuntu Feisty Fawn

Ubuntu 7.04 Install Step 1:
Download Ubuntu Feisty Fawn
Of course the first step in installing anything is to legally download it. (Store-bought CDs are so 2005).

I chose the torrent file from the Ubuntu 7.04 Feisty Fawn Release Page for a desktop 386 system. (my hp zv6000 laptop, with not a ton of hard drive space, and even less RAM, so we'll see how this works)

Here I am about 15 minutes later with a nice ISO file and no ISO burner... So I head over and download ISO Record v 2 and realize I've already downloaded it. So I'm going to log out, log in as an admin, and install ISO recorder, burn the CD and get ready to install Ubuntu on an empty partition on my laptop!

(No, I am not an admin on my own machine at home, and no, I haven't had a single malware problem since. Run no-script in Firefox and set yourself as a limited user account and you almost couldn't damage your windows machine if you tried... it's almost like running linux with a start-bar, but there are actually vendor-provided drivers... it's crazy I tell you, crazy.)

Friday, March 23, 2007

A Pleasant Purchase exPerience

For the two readers that aren't close-friends or reluctant relatives, I work at a Church. We do all kinds of charity work which gives us some super-cool buyability over at the compu-hut in Redmond.

I won't name names or list prices, but we'll just say the average charity organization pays about 15% the cost of a popular professional version of office-type software.

Now, how does the average charity organization go about doing this? Well, the first step is to see if you are really a charity organization. The best way to do this is to call someone "in the know" and ask "Are we really a charity organization?". Hopefully, the person will know and can tell you.


Next, you take the documents the guy gave you along with the puzzled yet strangely sympathetic look. (I think he considers you "special" because of the silly questions you've been asking of late... but for some reason that doesn't prevent him from handing you copies of legal tax documents. Let's remember not to trust him with important stuff in the future, he is obviously a spotty judge of character.)

You then find an authorized reseller that can sell charity licenses. I found one that we'll just call Computer Distribution on Wheels, or "CDW" for short. (completely random naming, just a variable)

So our guy at "CDW" says he can sell them at price x. I say "cool, if we buy a ton of this, like I'm hoping we will, can I get a couple of gigs of RAM for my laptop thrown in for free, so I can start testing Vista for the company?" He says, "Sure, what kind of laptop do you have?".

After much thought, consideration, and a french press (That's coffee, not an easily escaped wrestling move...) I called our rep back and said, "Actually, could you just try and stay in that budget and throw as many extra licenses of Office for Windows as possible so we can upgrade more computers?"

His response:
"I will still try to get the memory in on this one." (and he linked to the quote)

In the quote, he had added 6 licenses!

I just checked the local megalomart and they are charging just shy of $500 for the same software (retail)!! That means retail I saved $3,000. But for my purposes I saved closer to $500. Either way, that is a lot of money for a Charity organization to save!

Not to mention possibly getting some ram for my laptop so I can test Vista! (Which also saves my company the cost of buying a new vista capable machine for me!)

This was just too cool of a savings to not mention it. If you work for a Charity organization, please please please avoid buying retail or even OEM copies of software. OEM operating systems that come with your PC are perfect if you don't plan on building your own computers in the future, but buying office software as OEM means once your computer breaks, you cannot transfer the license to a new computer!!

Charity licensing is definitely the way to go, and finding a company to handle a majority of your tech purchases can make things much easier, especially when they beat some of the big box stores and are willing to haggle for an even lower price!

Hope this helps, or at least made you smile, or made you want to give me a dollar, which will make me smile.

Saturday, February 24, 2007

del.icio.us bookmarks extension even tastier!

While I try to avoid being too stereotypically geeky, I couldn't help but want to shout w00t! at the top of my lungs when I upgraded to the latest version of the del.icio.us bookmarks extension for Firefox.
(I didn't, of course, but I wanted to.)

My joy comes from the fact that while they have occupied Firefox's bookmark folder since their first release, they have finally retreated to the sidebar or a drop-down list!

WhooHoo!

This means I can drag and drop bookmarks like usual, but still have the full-featured tagging goodness of del.icio.us bookmarks! Sure there's the official del.icio.us firefox addon they try to push on you when you first sign up, but if you've tried the del.icio.us bookmarks extension
(also produced by Yahoo! Inc), then you know there is no comparison.

The cool thing about the bookmarks extension is that you don't just have a couple of bookmarks to add a shortcut or view your del.icio.us account, you actually have access to your del.icio.us bookmarks from within the firefox interface, including incremental searches of tags, page titles, and page descriptions. Seriously guys, w00t!

For some reason, when the extension first came out, they disabled the bookmarks functionality of firefox intending on completely replacing it with your del.icio.us account. Fortunately, they realized some people may not want to bookmark their bank's website in del.icio.us, even if you can mark it as "private". Or that maybe some people want some good old fashioned bookmarks that they can drag and drop to manage when they are in a hurry.

Enter version 1.4.25, the best of both worlds.

It is the klondike bar of del.icio.us extensions, but it doesn't melt when someone tries to hold a conversation with you while you are trying to enjoy its ice-cream-chocolatey-goodness.

So, open up the freezer and grab yourself a del.icio.us klondike bar of bookmark tagging goodness and hit it hard and fast, without the fear of brain freeze.

Tuesday, February 13, 2007

Check out twitter.com/OneSeventeen for my adventures at the microsoft launch event on 2/13/2007

Saturday, February 10, 2007

A Fortunate Series of Unfortunate Events

There, that should avoid any copyright issues, right?

Actually I say "fortunate" because God has definitely provided in all of the events.

Let's start at the beginning of the week when your's truly decides to file taxes early. Apparently we owe more than we've ever owed before. This would normally freak me out, but since God has been providing for everything up till now, I figured why would he stop now?

I check out the KBB value of my car, and for a trade-in it would roughly pay for what I still owe on it and give us enough to cover taxes. Woot! God provides again!

This weekend my wife and I decide to celebrate four years of marriage (another woot! would go great here) by going out of town. I made reservations weeks ago, so I went home early Friday to do some last-minute file management at home. (I'm a little OCD when it comes to record-keeping, and being away from the filing cabinets and file server is a little scary to me.) I hear the rain start outside, which shocks me because of how sunny it has been all day. When I step outside to see how bad the rain is, I notice it isn't raining. Despite the lack of rain, there is water coming down the door to my storage area. The problem: my storage area is covered! I open the door and water is pouring in from 1 or 2 stories above me! Apparently someone's water-heater broke and was flooding the floors below (including mine). As I'm walking through my apartment calling the office every few minutes when I think of one other thing I think they should know, I step into my bedroom and about halfway into the room the carpet is soaked and very squishy. (To the point of squirting water a few inches with each step I took.)

Fortunately, this is all covered by my apartment and they get the above water shut off in a matter of minutes, a new water-heater for the poor guys above me in about 30 minutes, and a flood recovery service in within the hour, all at no cost to me. Praise God! He provides again!

I run out the door to get the oil changed in the car, and they notice some stuff hasn't been done recently that should be done every 3 months or so. (And I haven't had it done at all during the 3 years I've owned the car!) Praise God! He gets it fixed before anything dramatic happens!

I then pick up my wife from her work, we fill up the car with fuel, and head up to the hotel about an hour away. We check in, and the room looks great! Until we notice that the towels haven't been washed and there is trash in the wastebaskets. We go to the front desk, and they fortunately have another room just like it and it looks awesome! They are super friendly about it apologizing all the time. (Considering they only charged me $26/night for a King sized room with desk, internet access, blow dryer, iron, and all that good stuff, I'll let it slide.) Praise God for us still having a place to stay!

The next day (today) we drive back to our church because my wife leads in the Children's Ministry. We planned on leaving around 3:30 in the afternoon, but for no apparent reason around 12:00 we decide to drive to the lunch hall instead of walk (just in case we hang out for a while and need to hurry up and leave). After loading up all the stuff for the Children's Ministry in the car I notice the back tire is low on air, so we figure we'll just head to the nearest town and air it up. We stop by the main office and find out the place we are staying at has an air compressor so we drive over to it and right before I air it up, I find a 1/4" nail in the tread.
Praise God we found this before driving an hour on it!! Plus, if we hadn't found it until 3:30 we wouldn't have made it in time for my wife to help out in the Children's Ministry.

I pull out the spare, check the pressure, and my digital reader tells me it is 30PSI instead of 60! Thank goodness I found that out quickly! So I air it up, but after 50 the reader just reads a bunch of 8's. I decide to just use it as-is instead of over inflating it. We pop on the spare and drive an hour and a half back home (top speed is now 50 instead of 75) and I drop my wife off at the house so she can drive over to the church while I get the tire repaired.

She makes it to the church in plenty of time to get ready, and I head over to my local Sam's Club (because I'm also a very frugal individual). They are awesome and repair the tire for free! We don't need new tires, woohoo!!!

Praise God again for providing a free tire repair (see "tax issue" above).

The repair guy then tells me that whoever inflated the spare last inflated it to 90PSI!!! (I will be throwing the digital reader away as soon as I finish blogging this!)

Praise God we made it over 60 miles on a highly overinflated spare tire!!

Conclusion:

There are two ways to look at this week:
  1. We find out we owe more than ever on taxes, and even owe "estimated taxes" for next year,
  2. we have our apartment flooded and all of our bookshelves ruined,
  3. we get a room that hasn't been cleaned,
  4. we get a flat tire while out of town,
  5. and we over inflate our spare because of a faulty tire pressure gauge.
Or:
  1. God provided exactly what we needed to cover our taxes,
  2. we get free carpet cleaning and mold testing, and potentially free carpet replacement and water-damage repair if it is needed,
  3. we get a new room on a floor with a better view of the mountains,
  4. we get free tire-repair,
  5. and God prevents us from having a spare tire blow out on us.
For the first time in a long time, I've been focusing on the latter, and I can tell you it is so much more calming relying on God rather than relying on the way the world is supposed to work.

The world would say I should be more logical, I should focus on what is happening and react accordingly. Instead, we've been praying and praising God and we have been more open to seeing, recognizing, and accepting His solutions to our problems, rather than trying to solve them ourselves.

I have to say it at least one more time: Praise God!

Thursday, February 01, 2007

Apparently you can Blog from your mobile phone. Expect a lot of tiny posts throughout the next few weeks.

Thursday, December 07, 2006

How ODF can beat out Microsoft Office Formats

As a business member of the ODF Alliance and a proud supporter of the concepts behind Open Document Format. I currently use OpenOffice.org for all of my business related documents, and find it to be much more helpful than Microsoft Office most of the time.

Unfortunately, I see an area that the ODF could easily dominate that I think Microsoft Office fails at currently:

File Format APIs

Could you imagine a File Format API that would allow you to quickly and easily create documents from the command line, or via PHP scripts? Possibly creating a template in your favorite ODF creator then manipulating the file later via the API.

Then, just to make things even more fun, a tool to render the ODF file and print it to a printer or to a postscript file, which would also make it infinitely easier to create a PDF from the command line.

It is not hard to manipulate XML if you know what you are doing, but that should make an API even easier to create. How many developers want to learn the schema for ODF so they can write conversion scripts and dynamically generate ODF files on the fly? (note that I am not raising my hand here)

Now, how many developers would love to write conversion scripts and dynamically generate/manipulate ODF files on the fly without needing to know how ODF works? (I am frantically waving both arms in the air at this point.)

Here's another question: How many developers would love to use their command-line linux server to generate PDF files out of ODF files and move 90% of their paper forms to an intranet application, without needing to know how ODF works, and without having to install some sort of X server or X forwarding application? (I am now waving money in the air... but only for donating to the project or spending on support, because I'm a frugal individual that wants this technology available to everyone.)

If we started treating ODF like a real file format and not just another XML file, maybe more people would see the value in using it. I'm sure moving all of our canned reports and forms to an intranet that makes use of ODF would be a big hit, and could make it much easier to switch to StarOffice or OpenOffice.org, and most of the work has already been done for projects like OpenOffice.org.

The -headless command isn't enough if I still need to run X just to install OpenOffice.org. Once we take back the command line and create PHP, ASP, Ruby, etc extensions/plugins/objects/classes/methods/functions/whatevers that can manage, manipulate, convert, and fully utilize the Open Document Format, the quicker we can move away from a forced-vendor solution.

I would also assume the first company to do this could easily be a singe-vendor-by-choice (SVBC) for many companies.

Common SVBC's might be distributors, such as CDW who sell various hardware and offer support for just about all of it. I can still switch companies anytime I want, I'm not locked into CDW, but because of their service, I'm willing to choose them over other companies when making my IT purchases. (I am not paid by CDW, but if you work for CDW and you'd like to slide a little cash my way, feel free!)

The point is, I am choosing a single-vendor because of the security, reliability, and comfort of having one company that knows everything about my IT purchases.

If CDW all of a sudden said their products and services required that I only use them, I would drop them in a heartbeat.

The only thing worse than having more than one IT vendor is being forced to use only one IT vendor. That's the whole point of ODF from my perspective.

Let's take back the office document battlefield, and let's do it by providing options and solutions that Microsoft wouldn't dream of competing with for free.

Keep in mind that an easy-to-use API would make developing your own office software infinitely easier, so we would see tons of open document office suites pop up all over the place, making it much more difficult to sell office software, but much easier to sell tools and services that work efficiently and effectively with ODF files.

Saturday, November 11, 2006

When the Holy Spirit Talks

I'm typing this on my laptop in a hotel room at a Christian Conference Center in New Mexico. The reason I am typing this is to share what happened tonight with others, and archive something public that I will be held accountable for before I forget it.

This is not about legalism, dumping out any beer that might be in my fridge, or burning all of my books, but is about being ministered to directly by the Holy Spirit, and realizing what has been missing from my walk with God.

Tonight we had an awesome message by pastor Dave Row, who was talking about David and Bathsheba. He discussed a lot of great points, but the overall theme that I got from it was that we have to be ready, we have to be prepared, and we have to be continually fighting the good fight in order to avoid falling when we least expect it.

No serious opponent in battle will attack when their foe's defenses are at their strongest. They will wear them down, cut off food supplies if necessary, and will prevent them from gaining a defensive advantage. Once the foe's defenses are at their weakest, the enemy will attack, and will most likely succeed.

As a Christian, my defenses are the weakest when I think I don't need them, or when I forget that I'm in a battle altogether. As a human being living and breathing, we are involved in a battle, whether we want to be or not. As a Christian, we are fighting on the winning side. But just because we are on the winning side, doesn't mean that we ourselves are making a positive impact on the battle. In fact, I believe Christians can have a negative impact on the battle unless they are properly focused on God and fully engaged in the battle.

As a human being, I have a default nature (as we all do), and that default nature wants to be satisfied. It wants to be comfortable, and it wants to feel good. God has graciously been protecting me against the most common pitfall to men, which is sexual immorality, but there are still other areas of the battle that I didn't know where anywhere near the battle. My time and my efforts.

I just started reading an awesome book series by C.S. Lewis, and have really enjoyed the few times I've found to sit down and read it. I also have taken up juggling and might soon start a juggling ministry at my church. These are not bad things. In fact, they can be good things, when done according to God's timetables and God's order of priority.

I have not been having daily bible studies, and I have not been leading my wife in daily prayer and bible studies. If I'm not reading the word of God, why am I reading the words of men? If I'm not putting forth an effort to build the Kingdom of God, why am I putting forth an effort to learn to juggle?

Is my focus on my self, or on God?

My wife and I have confronted ourselves on this recently, and we have both been convicted to put our focus on God. Unfortunately, I've let myself get lazy, complacent, and comfortable. I don't feel Satan attacking me like he has in the past, but that's because he is probably simply putting me very slowly and cautiously to sleep, hoping I won't notice.

I didn't notice. Until tonight.

I have been compromising in areas that I don't normally struggle with, and that aren't my primary focus. I always have memorized scripture on hand ready to quote when presented with even a hint of sexual immorality. I also use that scripture to avoid pride, greed, and a self-righteous attitude. Instead, I have been compromising in how I spend my time. When presented with the choice to read God's word, or to read an entertaining book, or watch a TV show, or work on my computer, I rarely choose God's word.

I strongly felt the Holy Spirit talking and ministering to me tonight, convicting me of these areas that are not normally a focus for me. I do not feel at all whatsoever that reading fiction and learning to juggle are wrong. I just know that letting my relationship with Christ "coast" is wrong.

By not striving to grow closer and closer to God, and behave more and more like Christ, I am simply putting back on the old self, when I need to die to self, and offer myself as a living sacrifice in all areas of my life, not just the times at work, or the times I'm presented with the temptation to get angry or bitter, but also when I'm presented with the temptation to spend my time in a manner that is not glorifying to God.

If what I'm doing is not to glorify God, then why am I doing it?

I specifically need to stop reading the books I'm reading, and stop watching TV, and stop working on my computer needlessly, and start reading the Word, responding to the Word, and putting on the Armor of God so I can daily take up my Cross and follow Christ.

When I have reached that point, then I will start reading books that I know will not compromize my walk with Christ.

This is not to say everyone should do this, but the Holy Spirit clearly pointed out to me that I need to re-evaluate how I spend my time, and whose glory I am seeking after. Is it my own, or is it God's?

Wednesday, October 25, 2006

Windows Wireless Peekaboo and other home-networking woes

I have inadvertently installed a game I didn't want on my computer. This is the type of game that my computer plays, and that I can only play the role of spectator in.

Call me selfish, but if there's a game on my computer, I want to be the one playing it. (or my wife, in the case of Nancy Drew and other girlie mystery games that are kind of fun to play.. I mean that are fun to watch my wife play....)

The way the game works, is I set up a wireless network with WEP encryption. I then use a wireless PCI adapter of the same brand as my wireless router so my desktop can connect to the wireless network.

The final step is to connect to the router with Windows XP.

This is where the fun begins!

Windows, feeling excited at its new found friend, W.R. Puff-N-Stuff (Wireless Router), quickly starts talking to it and exchanging contact details, memories, and after some handshaking and packet exchanging, they are best of friends... like they've known each other for years!

As they start working together they reminisce over the days of yestermonth, when they first met and were in the honeymoon phase of their relationship.

In an effort to return to those wonderful days long past, Windows and W.R. decide to play a friendly game of peek-a-boo, and invite me to watch. As I'm writing an email in response to a purchase of an Ubuntu Christian Edition CD (only $5.00 each plus $0.75 shipping!), the router, with its thin yet effective antennae hides itself behind an imaginary steel and copper plated wall (in reality made out of thin air, swirling around the room as a result of those pesky tsunami-inducing butterflies somewhere in the east). This waft of air, which is quickly turned into a steel and copper wall by the imagination of both W.R. and Windows, pass through right as W.R. says "Where'd the Wireless Router Go?!?!" in a childish and happy voice.

Having years of networking experience, and the most up-to-date drivers, Windows quickly responds with "Wah?! huh?!? OMG (oh my goodness!) Where DID the Wireless Router Go?!?!!!?".

The butterfly is quickly smote by a young child practicing ineffectively the art of ken-do with a rolled up instruction manual for a wal*mart product that hasn't yet shipped. The wind dies, the imaginary wall is removed, and only moments after the game began, the final round is at hand.

At this point, the Router is now visible, and Windows, filled with extreeme joy of reuniting with its long-lost friend greets him with a quick tear-filled "THERE you are!!!" before swapping the most up-to-date contact information, a few packets, and even some more handshakes, lest they part ways again without knowing how to keep in touch.

It is at this moment that the game is over, my email gets sent, and I relax as another hour or so passes on the Church-Forge forums before yet another butterfly finds its way into the beautiful Eastern landscape and begins flapping the exhaustion off its wings, providing a cool breeze across the amber waves of grain, and into my apartment as my wife arrives home from work, ready to to relax and spend time with her mildly frustrated husband mumbling about butterflies and steel-and-copper walls in a game of peek-a-boo.

Wednesday, August 02, 2006

Adding my Podcast to the series of tubes

I have bit the bullet, and started a podcast. I talk about how to use current technology (preferrably open source) to furthur Christian Ministries.

The podcast consists of three segments, a Review or Product Spotlight, a How To or Tips and Tricks, and a short Bible study. The shows are released every Sunday evening (better to set your podcasting app for early monday morning!), and usually run between 15 and 30 minutes in length.

Plus, my wife does some of the voice-overs, and MercyMe has been kind enough to allow me to use some of their music for the intro. All in all, it's a pretty neat thing to look into if you are at all interested in reliable, free software. (I don't , to my knowledge, review any software that installs malware, pop-ups, or other advertisements)

Check it out at geekons.com (get it? Geek + Deacons = Geekons)

Sunday, May 21, 2006

Open-Minded Geekdom: a lesson in iTunes and other technologies

As a geek, I have always rejected anything popular, be that something as large as the Windows Operating System, or as small as iTunes. The fear of something popular being worthless comes from years of overpaying for software that isn't well supported when push comes to shove. Another example of why geeks shy away from popular things can be summed up in two words: "American Idol". (Or pop music)

Based on this, I have been using Windows only when neccessary, staying as far away from Windows Media Player as possible, and only touching Apple products and software when absolutely neccessary.

A few weeks ago a geek friend of mine (even if he doesn't admit he is a geek) mentioned that he used Windows Media Player 10, and therefore couldn't help me with a winamp question I had. This shocked me, but after I got over the shock, I installed MediaPlayer 10 and found it not too difficult to use.

I still use OpenOffice.org, Inkscape, Firefox, SciTE, Thunderbird, and 7-zip, but it definitely opened my mind to trying things that are not Open Source.

This extended to Apple when the leader of my Church's Web Servants got an iPOD and showed me some of the features of the device. When I saw the features and quality of the device, not to mention the ease of use, I decided to try out iTunes.

Much unlike the OSX Operating System itself, iTunes is incredibly easy to use. It also has tons of features, and just makes sense. It's almost like it is one "beta" tag away from being a google application.

Through this, I've learned that especially as a geek, I need to keep up on current technologies. As long as I'm not risking security (by doing something silly like using Internet Explorer), all I'm doing is learning what works. Imagine if the GIMP used features and interfaces similar to the Photoshop? It would have the same usability and same quality experience and results.

On a sidenote, Windows Media Player 11 beta doesn't seem all that great. I'll be switching to iTunes, or keeping WMP10 unless they make some dramatic changes, but that will come in a later review.

Friday, May 05, 2006

Biodiesel for fun and profit!

First things first, when I go to grill out, I grab bun-sized Beef Franks, not tofu-dogs. I still enjoy the occassional McDonald value meal, and I shop at walmart.

I also don't like spending nearly $3 per US Gallon of Gasoline.

Enter BioDiesel. It can be made from almost any vegetable oil, and is less toxic than table salt. I've heard some diesel engines produce more horespower when using B100 (100% Biodiesel) than when using petrolium-based diesel. The only thing that might make that possible is the fact that the original Diesel engine was intended to run off of vegetable oil, not petrolium.

While many diesels can run off of straight vegetable oil (the kind you can buy off the shelf at your local grocery store), it will probably wind up clogging something up unless you modify your vehicle to accept the thicker fluid. Processing vegetable oil into biodiesel will remove the thick viscosity. The byproduct of creating biodiesel is glycerine, which is used in skincare products, cough-syrups, food sweeteners/preservatives, and many other things.

Many people who produce their own biodiesel claim to spend less than $0.50 per US gallon. Imagine filling a 16 Gallon tank for $8!

Just some fuel for thought.

Thursday, February 16, 2006

RIAA: Is copying illegal this week?

Synopsis:
In March of 2005, the Recording Industry Association of America (RIAA) said copying CDs to MP3 was legal, as long as you did not distribute it to other listeners who had not purchased the music themselves.
In February of 2006, the RIAA then said copying CDs to MP3 was illegal, reguardless of how many times you have purchased the originating CD. Their solution is to replace CDs that get scratched with new ones.

Evidence:
March of 2005:
Supreme Court Transcript 04-480, page 11, available in PDF format from the official supreme court website.
From Metro-Goldwyn-Mayer Studios v Grokster, Donald Verrilli representing the petitioners:
...and let me pick out the iPod as one, because it's the most current example, I guess. From the moment that device was introduced, it was obvious that there were very significant lawful commercial uses for it. And let me clarify something I think is unclear from the amicus briefs. The record companies, my clients, have said, for some time now, and it's been on their Website for some time now, that it's perfectly lawful to take a CD that you've purchased, upload it onto your computer, put it onto your iPod...
(emphasis added)

February of 2006
Copyright Docket No. RM 2005-11, page 22, available in PDF format from the official US Copyright website.
...creating a back-up copy of a music CD is not a non-infringing use, for reasons similar to those the Register canvassed in detail in her 2003 determination that back-up copying of DVDs cannot be treated as noninfringing.47 2003 Rec. at 102-08. While we recognize that access controls may in some circumstances affect copying, the fact remains that there is no general exception to the reproduction right to allow back-up copying (except the limited exception in § 117 for computer programs)48 and thus no justification for allowing circumvention of access controls for this purpose.
(emphasis added)

From page 40 of the same document:
Even if CDs do become damaged, replacements are readily available at affordable prices.
(emphasis not needed, it's pretty obvious)

Conclusion:
It appears the RIAA is not interested in the consumer's right to have full use of the product they purchase. Imagine purchasing a car and being told you were not allowed to fix it when it broke, but instead were encouraged to purchase a replacement car at an "affordable price".

Purchasing CDs and supporting bands backed by the RIAA only encourages them and shows that they are able to rewrite Fair Use policy anytime they wish. I, for one, will not be supporting this organization until they change their policies.

Tuesday, January 17, 2006

Client-Side Server Scripting

While many people think it is impossible to shift Server-Side Duties to the Client, it isn't! Apparently the group of people hired to write a web application for my employer (my full-time job that supports my pursuit of Woven Thorns Productions, not WTP itself) decided to do just that.

By using Java applets to write server-side applications, we are able to require that everyone use the Java Runtime Environment. No biggie, that is made for linux, windows, mac OS, and of course solaris. So I install it on my windows machine and on my Linux machine. The application works great in Internet explorer 6+ on Windows XP Pro, but does not work in Firefox 1.5 on Windows, nor does it work in Firefox 1.0.7 on Linux.

If the developers had used something such as PHP, ASP, Perl, or any CGI language, then this would be a non-issue, because the work would be done on the server side of things. Heck, they could even throw in some Javascript to make it look and perform the exact same way. But here's the problem, Javascript can be purified down to a simple, cross browser, cross platform language (minus a few Microsoft changes, which are easily tip-toed around) that will work on all versions of Firefox on all Operating Systems, as well as IE, Safari, Opera, etc. etc. All without having to add Java Runtime Plugins for each browser.

Why didn't we do this?

My only guess is money. Java developers connecting to Oracle Servers get paid better than PHP developers connecting to MySQL/PostgreSQL Servers. (Side Note: PHP can connect to Oracle Servers just fine, and can even be compiled to encrypt the database usernames and passwords)

So for all the Java developers out there, please continue making great, compiled, desktop applications for specific operating systems, but leave the internet alone unless you can garuntee cross-browser, cross-platform portability. I'm tired of being told to "view this page in IE". That's like saying you can't watch a black and white TV show because I have a color TV. If a standard signal was sent, I could watch whatever I want to.

Please, if you work on the web, don't do what is easy, or what is lazy, do what is portable. If your website requires something other than what is packaged by default with Firefox, Internet Explorer, or Opera, then please recreate your site.

Some examples of methods that defeat the purpose of web applications:
  • Java Applets
  • Flash-Only websites
  • AJAX-Only websites
  • Complex Table layouts
  • Any web content, CSS, Graphic, etc. geared for a single web browser.
Please, follow standards, and keep in mind that while most visitors are using IE on Windows, doesn't mean all of your visitors are. If I lived in a predominantly white town, I wouldn't let that influence me to refuse service to someone just because they are a minority. The same attitude should be taken to web applications.

If you want to target an operating system, create stand-alone applications. If you want to target anyone with the internet and a web browser, write standards-compliant, ADA friendly, server-side applications.

Saturday, January 07, 2006

Webserver Setup in Ubuntu

Tonight I will be taking my laptop with me to work on a website, but the place I am going does not have a secure connection to the internet available. (No wired connection, and only unsecured wireless)

Because I'm paranoid when it comes to security, I will be insalling PHP5, MySQL, and Apache2 on my Ubuntu 5.10 based laptop. Here's my steps:

2:37PM
Click on System>Administration>Synaptic Package Manager
Enter the Administrator Password. (normal users shouldn't be able to install/remove applications without a password)

Click "Search" and type in "php5" and click the "Search" button.

Check the box next to "libapache2-mod-php5" and click "Mark" on the popup window that confirms that I am okay with installing the additional packages required to get this library working. (Such packages include apache2, php5, openssl, and related items)

Check the box next to php5-mysql

Check the box next to php-pear

Check the box next to php5-gd

Click "Apply"
Review the changes and click "Apply" again.

2:42PM
watch as files are downloaded and installed

2:43PM
Review the window that confirms it downloaded and installed properly

2:44PM
Remember I need to install MySQL and run a search for "MySQL"

Check the box next to "mysql-server" and accept the additional packages.

2:45PM
Click "Apply" and confirm the changes by clicking "Apply" again.

Wait and watch as the files are downloaded and installed.

2:46PM
Follow the Postfix Configuration wizard:
Choose Local Only (since this is for developmental purposes only)
Accept the default mail name (we won't really be using postfix anyway)
Watch as it installs the rest of the packages we chose.

2:48PM
Click "Close" at the Changes Applied screen.

2:49PM
Because I'm a geek, I'm going to install PEAR DB, so I open up a terminal and type in:
sudo pear install db
(because I want the administrator to make pear install the pear DB package)

2:50PM
Open up firefox and type in "localhost" to make sure it all worked.

It Did!!

2:51PM
Download all the neccessary scripts from my FTP server that I will be modifying, so I can work on them locally, then set up a MySQL user for the script to use.

2:55PM
DONE!


In an 18 minute time span I was able to install and set up a webserver that has PHP5, MySQL 4, Apache 2, and PEAR::DB. I was also able to download my files from my FTP server using gFTP, a simple and elegant FTP client.

I'll post tomorrow how well it worked, and what issues I've run into with my rushed webserver installation.

Where the death of DVD should lead us

According to Australian news source, The Age, DVD is dead. And they leave open a question for what comes next. They, and many other sources, point to the standard HD-DVD vs. Blu-Ray battle, but I for one am holding out for option 3, which is actually coming on much quicker than I anticipated.

Digital video for download.

Before I jump into why, and if companies should trust users, I'd like to drudge up some recent bad press for the companies that would disagree with me.

As everyone by now knows, Sony Music has released a beefed up version of Digital Rights Management (DRM) that was essentially a rootkit. Without going too far into detail, I'll just say that it created a space on your computer that you did not have access to, but ran Sony branded scripts, such as those that would send information back to their servers every time you played their CDs. On top of that, virus writers found a way to exploit this rootkit and install viruses in a manner that you, nor your virus scanner, could remove them, all thanks to Sony's DRM.

This was all to keep you from being able to make a backup copy of your CD, as well as to keep you from listening to the music on your mp3 player, ipod, etc.

After Sony denied the existence of the rootkit, and denied the severity, it was made public on numerous websites, news articles, and television shows. Sony then agreed it was a bad idea and offered to replace all of the affected CDs by shipping out new CDs to the customers. While customers were waiting on the new CD, they were offered free downloads of the mp3 version of the songs. So in the end, Sony's outrageous method of DRM intended to prevent mp3's being made of their music caused them to release the mp3 version of their songs.

Had Sony offered free mp3 downloads for songs people purchased to begin with, customer satisfaction would have gone through the roof, and iTunes users everywhere would probably start buying Sony branded CDs. Instead, many people (including myself) are going to be very skeptical before purchasing a Sony branded CD, much less any audio CD that advertises DRM.

The solution:

The solution to this problem is simple. Allow owners of media content the ability to use that media content in any way they see fit, as long as they do not break copyright laws for their country. This means, do not copy the music or video and give it to someone else, there should be a license agreement to prevent this anyway. However, if you would like to copy the music or movie to your computer so you can stream it over your home network to all of the rooms in your own home, then by all means, enjoy.

Adding company-wide DRM policies that impact the playability and usability of a product will only cause bad press, more lawsuits, and possibly indigestion.

Unfortunately I have decided as a Christian and as a Business Owner to use only legal software on my computers, and I refuse to knowingly break any laws (and try my hardest to keep myself educated on the laws that are easy to break unknowingly). I say "unfortunately" because this means I must go return my DVDs as they do not play in my computer's DVD player. I was told I needed to purchase a DVD decoder in order to play the encrypted DVDs, but I was told this after I purchased a fairly large collection. It is also important to note that Windows based PCs and Macintosh based PCs are the only computer systems that have decoders available. This means Unix, BSD, and Linux users are left out in the cold.

I won't make this a Linux vs. the world debate, but considering the number of linux users has been nearly doubling each year, it does not make sense to prevent users from playing encrypted DVD video on this platform.

If you live in a country that allows you to break the encryption on DVDs for the purpose of viewing them, you can download various open-source DVD decryption libraries that are a sinch to install. Unfortunately, United States law prevents me from doing this on my laptop, because that wouldn't be fair to the company I paid so I could watch the movie they produced.

The only solution I see is for DVD decoders to be freely available for every operating system that supports DVD video playback, or to remove encryption altogether. And if we are removing encryption altogether, we might as well offer downloads for at least the 3 most popular Operating Systems.

By moving to a more standardized approach of media content distribution, we will be able to realize the technology corporations are struggling to support today, but without the headaches caused by DRM, proprietary encoding, and lack of respect for Fair Use rights in many countries.

Some interesting facts to think of while watching the media drool over new, yet proprietary, technology:

The encoding methods used to create DVD video has been surpassed by not only proprietary video encoding methods, but also by open-source and freely available encoding methods. XviD has better compression rates than DVD video while maintaining better video quality, and is free to use on any system, including future set-top players.

Plasma TV's have fewer horizontal scan lines than standard television sets. While they have larger surface areas, look nice and thin, and have better viewing angles than other large-screen TVs, they still technically have worse resolution and therefore worse quality than a standard $150 television.

Flat pannel computer monitors that reach resolutions of up to 1280x1024 are now available for less than $250 while most "HD-ready" sets are not even able to completely support the 1280x720 HD standard. A new standard, 1920x1080 is being pushed, and with high-end HD plamas reaching closer to 768 lines, the end result is a 1920x1080 image shrunken down to fit into a 1366x768 screen. That means some pixels are completely lost, but not an even number, so while it may not be overly obvious, you will be missing some of the picture on the $4,000 50" plasma when a $400 22" CRT monitor could accurately display up to 2048x1536.

If more money were spent on usable computer formats, we could start downloading movies at higher than current "High Definition" resolutions and play them on truly high resolution computer monitors (that could easily be expanded to a more enjoyable 42" if the demand presented itself). In the future, I see very few electronics being without standard computer parts, especially entertainment centers which are already seeing PCs as a valid source of media. Why pay a monthly fee for television shows on demand when you can purchase the show for $2 on iTunes the day after it comes out?

Why purchase a 1280x720 HD DVD that requires a decryptor, when current computers support much higher resolutions that don't requre extra software?