Error   test

Archive for March, 2007

Putting too much out there in some posts

Posted March 28, 2007 at 11:03am in General

I realized when I was redesigning the site that I say a little too much. I make some extreme comments and in most cases I do not watch what I say for the simple reason I can say what I want. I don’t always think about the relationships and people involved and how what I say may cause a problem. I changed a couple of my previous posts for this very reason, and I felt bad that I wrote what I wrote the first time, it just seemed very unprofessional and childish of me. I am going to try to keep things on the right path from now on.

Email without hassle, can it be done?

Posted March 28, 2007 at 11:03am in Computers

I received and email to the account I was given for the FTA project and it dawned on me, I have way way way too many email accounts. I have a number of domain names and want to keep email for each domain and I use each one for different projects so I have additional email addresses for each. If I have the email addresses act as an alias I cannot reply as that email address. This introduces headaches I could really do without. From my records I have about 15 email addresses and that my friends is too many, especially since I do not receive mail to every one of them on a daily basis. It is an extreme case, but as a techie, can you really live without having a lot of email addresses? Consider that you get a free one for Yahoo, AIM, Google, then you have your own domain and of course other projects, businesses. I don’t really use my Yahoo or AIM email accounts, but I have them.

Google introduced a while back POP3 retrieval so you can have it download mail for other accounts and you can send as that user. I think I am going to move to doing that with all of my accounts because it really would save a lot of time and hassle. Being able to send as that user would be a huge help too, but I don’t know how that could be done through a client, or how SPF records or whatever they are effect the abilities of that function.

I do know I am going to switch all the email for my domains to Google apps soon, since it saves the sent messages even if they are sent via Outlook or Thunderbird. That is the biggest drawback of webmail in my opinion, you cannot reference sent mail.

New Design is up

Posted March 27, 2007 at 11:03pm in Design

So I spent a lot of the day redoing the design for this site. This one is tableless and I need to change a few things to get the XHTML to validate, but it is pretty clean. It is based on the previous design so I set it at version 2.5, but it has many improvements over the other version. I do still have some work to do adding some of the old plugins and adding in more new ones. I also plan on making a user choice of 1024 or 800 since the width makes some posts short. I hope you like it.

Today is a Good Day

Posted March 22, 2007 at 11:03pm in Health, Life

Today, March 22, 2007 marks 3 years of not smoking. This is a big day for me and it has been very tempting to smoke, but I have made it this far and I am very proud of that.

Please remember that price does not directly reflect quality

Posted March 22, 2007 at 03:03pm in Design, Programming

Recently I have been involved with some individuals that failed to meet my expectations and I have let it bother me a little too much. The situation is that someone was hired to do a job, did not finish the work I was informed they would finish and the work they did complete was lacking in my ways.

I don’t blog about my personal life much, but in past years I have had some tough times, and some of that was financially and it really really makes me upset when I see people making 250% of what I do and they can’t even do the job. I have had to fix most of the problems that have been introduced or the parts that were not completed. I am making enough that a lot of people would be happy with their take home, but the individual I speak of has made a lot more and from what I have seen does not deserve it.

There have been a number of amateur mistakes made and I just don’t understand how someone can get by with some of the things I have seen and still make as much as they informed me they were making. True, it could have been a lie, but I somehow doubt it. I am not trying to broadcast that I am a genius in the design world, or ever close to what some of talent that is out there, but I have been doing it for a long time and there are just certain things you do and don’t do.

The whole point of this is that just because someone charges less than another does not make them any less quality, and just because someone is more expensive does not mean they are worth it.

Too many queries

Posted March 22, 2007 at 06:03am in Programming

I was just looking in my query log for MySQL and one view of the resources page for the FTA project is 106 queries. That is going to have to be trimmed down big time, some of these queries are the same repeating 4 or 5 times. I guess thats what you get when you use modules and some contributors don’t know how to reuse information.

Looking for a driving job

Posted March 22, 2007 at 03:03am in Cars & Bikes

Something I would like to possibly try is driving for a living, not trucking, but driving cars around the country for whatever reason. I don’t local and I don’t want it to be a truck. I would really appreciate it if someone would let me know where a job like that might be found.

Joomla, Docman and Category Filtering

Posted March 22, 2007 at 01:03am in Programming

Tuesday night into Wednesday I finished the majority of the work on Docman and let me tell ya that is an adventure. Docman is currently setup so that you upload 1 file (pdf, doc, whatever) and then you create a document, which is only an entry in a database. That document can only have 1 category, so if you need it to belong to multiple categories you are screwed. Also Docman continues to list a document when it is ‘checked out’ which is not ideal in a lot of cases. For me checking out means checking out, like a library, that book is no longer available.

Our system needed to have documents belong to 3 ‘categories’, but only one is really a category. The other two are document type and relevance (state, federal, etc). We were using Docman Uploader or something instead of the stock upload functions, but the root docman upload functions are used within that component. The way the uploader is made it is pretty simple to add additional database fields, it does however take a lot of code reading to find that out. You can pretty much just add the fields you need to the database and then add the appropriate form elements with the same name as the field. I would make the fields allow for null unless you want to go through every previous entry and add numbers. For this project I setup categories so that in the root of the categories you had each main topic, Document Type, Relevance, Topics and then each subcategory was the actual information. That causes a problem if you use the stock code to give you drop down categories since it will list all of them and there is no filtering. This means that you must apply some filtering and I did that by specifying the categories to be left out in the main configuration and then do an in_array to check if that category was to be left out. That still leaves you with the name of the parent category so you need to do an array_shift to get rid of that. In the end I have 3 drop down boxes only showing the categories I want and they are entered into the database as I want them. That won’t make shit work though, since you have two new fields and they are based on category numbers you need to be able to find information on only that. For this I included the parent categories that house the other information, and if the GID matches you append tid or rid to the end of the url, this way when that person browses into that category the next url has the information you need. If rid or tid are found on the url it then searches rid or tid instead of catid and whala, you have your information.

It was nowhere as simple as that as Joomla uses about 500 steps to do one thing and everything has to be traced back to the origin. Getting the resources page to work was also a hassle. The built in functions for category listing will list everything, but I only needed parent and one level in, and editing the functions that come with the script wasn’t working so I had to write my own. Writing my own wasn’t a problem, but for some reason it wouldn’t work within joomla, I could get it to work outside as a standalone but not within. It appears I was having problems using global, the information just wasn’t being brought in the functions.

I will eventually post the link to the site when it is live so you can see what I did.

Some Great Photography

Posted March 22, 2007 at 01:03am in General

Take a look at Daniel Viney’s work, its good stuff.

http://www.stolenpixel.com

ERROR_STORAGE_FAILURE on Gallery2 Installation

Posted March 20, 2007 at 10:03am in Programming

This was caused by not having InnoDB storage engine active. Fix that and it should let you install it.