Help My Kijiji Ad Isn’t Showing UP

Posted by Brian R Cline | Uncategorized | Saturday 28 August 2010 9:46 pm

Kijiji occasionally will block an advertisement from showing up for twenty four hours to prevent spam. I’m not really sure if an employee actually goes through the queue of waiting ads and checks if it’s spam or not.

To find out where your ad is visible, you should use Kijiji’s status checker.

Setting Focus to 1st Text Field in jQuery

Posted by Brian R Cline | JavaScript,Programming,Uncategorized,jQuery | Saturday 14 August 2010 10:48 am

Setting focus to the 1st field in jQuery is actually really simple: there are some plugins that also can do it automatically on each reload of a form.

I usually just use the following code on any pages where there is a form.


<script type="text/javascript">
$(document).ready(function() {
$("input:text:visible:first").focus();
});
</script>

Hope this helps.

1and1.com – Web Hosting Review

Posted by Brian R Cline | Experience,Programming,Uncategorized | Friday 25 June 2010 5:16 pm

Purchasing web hosting service is extremely easy; however, purchasing great web service is extremely difficult. Some of the web hosts pretty much register the domain and give you access almost immediately to some temporary space while the DNS wait period occurs.

I can’t remember how long it took for me to get access to the temporary space on 1and1, because I started hosting with them around 2003 / 2004. I have used 1and1 pretty much exclusively since purchasing my first domain name and can’t say I have a lot of complaints although there are definitely somethings I wish they did differently.

Hosting
I haven’t had any issues with the actual web hosting although I do find it frustrating that things like FTP accounts are so limited. I was thinking about including hosting in my web design/development projects and allowing the company FTP access but that would limit me to 50 clients per package. An important thing to keep in mind is that if you are going to use a 1and1 database (MySQL / MS SQL) is that it is behind a firewall and you must use their web based tools.

Customer Service
The four times, I have had to deal with 1and1 I was extremely disappointed with the level of customer service. For example, there was a severe email outage for about two days and staff seemed to be indifferent to the issue. Before you go with 1and1 make sure that you know exactly what you are doing, and that you have patience because their technical support/customer service is terribly slow. The FAQs aren’t exactly great and often don’t really contain remedies to the problem: for example why is DOMDocument disabled and how do I fix the problem? Well, 1and1 doesn’t actually say at the time of this writing!

Billing Practices
I’m not exactly thrilled with having to pay for a full year’s service at a time and not getting any sort of deal for allowing them to use my money for free for like 12 months. Cancelling domains and packages is quite tricky on the billing/cancel application partly because you have to respond to an email at least once and then wait some period of time (2 months?) and make sure again that the item is actually cancelled.

Final Thoughts
1and1 was the cheapest host that I could basically find around 2003/2004 and still seems to be one of the cheapest. I wouldn’t describe the experience as great but I also wouldn’t say it was terrible. If you are price conscious, willing to learn, and have patience then your 1and1 experience will probably be similar to mine.

Kijiji Advertisement – Are You Kidding?

Posted by Brian R Cline | Uncategorized | Tuesday 25 May 2010 11:46 pm

I was surfing the local Kijiji looking to see if maybe there might be some interesting contract work. Naturally, I wasted approximately forty-five seconds reading the three advertisements until I found this really pathetic offer:

“I need a website built in the next 4 weeks.
Website will have up to or may be more than 50 pages.
Will like people to be able to subscribe to posts and blogs
I will like some admin management to be able to update blogs
Website will have a 6 page flash video on the header
Some pages will have multi columns (2-3)
Some pages will have links to other pages and pictures
I will like to have some forms filled and submitted on the site
Website will have RSS feed and comment compactibility.
I have all the pictures and content ready.
Website will have google adsence
Unfortunately, I have budget restaints, I can only afford $400 for this.

If you are up to it, please send the following info
1. Your name
2. Sample sites you built
3. Phone number
I prefer someone in St. Catharines, or if you don’t mind meeting once a week until job is done.”

I have no doubt, I could implement this using some sort of content management system with a customized template but I also know that if I use WordPress even I would need to spend at least eight hours coming up with the design and then coding it. And of course, that still doesn’t help with the required forms issue does it?

Inline vs External JavaScript

Posted by Brian R Cline | Programming,Uncategorized | Monday 12 April 2010 10:50 pm

In general, we never should have embed JavaScript inside the same file as the HTML markup and should instead place the JavaScript into an external file.

The content, presentation, and interaction code should all be separate to make your life easier as a website developer.

  • Cleaner Code. Cleaner code is much quicker to find errors in, and will reduce the complexity. In addition, changes only need to be made in one file instead of in potentially dozen resulting in a significant saving of your time and money for your client.
  • JavaScript will be better cached for future use and will reduce the size of the HTML file. Users won’t need to download the file every time the user revisits resulting in very quick retrieval.
  • Different Parsing Systems. The parsing systems used for HTML/XHTML are vastly different from the parsing/compiler systems used for JavaScript are different and can introduce nested quote problems.

JavaScript And Site Performance

Posted by Brian R Cline | Programming,Uncategorized | Sunday 11 April 2010 5:29 pm

JavaScript and the respective frameworks have really began to gain traction over the last couple of years. I would argue that most of the JavaScript frameworks are excellent, and truly are great for the user experience and for the programmer experience.

Unfortunately, many of the JavaScript frameworks are quite large for a web page. jQuery, for example, minified is nearly 56KB. Personally, I wouldn’t use jQuery or another JavaScript framework for static pages that might only read an XML file or display a simple animation: frameworks really are elegant for web applications. The size of frameworks isn’t much of an issue for people on broadband (cable, dsl, etc), but now as web developers we are beginning to see iPODs, iPhones, Blackberries, and other smaller electronics beginning to view our websites where the size and download speed of the frameworks, and website markup can begin to create havoc.

First, we should move all of the JavaScript to the bottom of the body because each HTTP request for an external document will block the rendering of the HTML until downloading has completed. JavaScript according to the W3C can “appear any number of times in the HEAD or BODY of an HTML document.”

Web Developers should also minimize the number of HTTP requests by combining all of the JavaScript into one file, and all of the css into a single css file. The Yahoo developer blog contains some really helpful tips. Yahoo also provides an excellent plugin for Firefox/Firebug that provides some tips and debug-type of information.

The Rise and Fall of Waterfall

Posted by Brian R Cline | Programming,Uncategorized | Wednesday 31 March 2010 6:33 am

Sadly, I still think there are a lot of companies that still just think,code, guess, code, guess some more and maybe eventually come up with something. We need a repeatable process that should be fairly iterative.

The Ten Commandments for C Programmers

Posted by Brian R Cline | Uncategorized | Wednesday 17 February 2010 12:09 am

by Henry Spencer

1. Thou shalt run lint frequently and study its pronouncements with care, for verily its perception and judgement oft exceed thine.

2. Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end.

3. Thou shalt cast all function arguments to the expected type if they are not of that type already, even when thou art convinced that this is unnecessary, lest they take cruel vengeance upon thee when thou least expect it.

4. If thy header files fail to declare the return types of thy library functions, thou shalt declare them thyself with the most meticulous care, lest grievous harm befall thy program.

5. Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest “foo” someone someday shall type “supercalifragilisticexpialidocious”.

6. If a function be advertised to return an error code in the event of difficulties, thou shalt check for that code, yea, even though the checks triple the size of thy code and produce aches in thy typing fingers, for if thou thinkest “it cannot happen to me”, the gods shall surely punish thee for thy arrogance.

7. Thou shalt study thy libraries and strive not to re-invent them without cause, that thy code may be short and readable and thy days pleasant and productive.

8. Thou shalt make thy program’s purpose and structure clear to thy fellow man by using the One True Brace Style, even if thou likest it not, for thy creativity is better used in solving problems than in creating beautiful new impediments to understanding.

9. Thy external identifiers shall be unique in the first six characters, though this harsh discipline be irksome and the years of its necessity stretch before thee seemingly without end, lest thou tear thy hair out and go mad on that fateful day when thou desirest to make thy program run on an old system.

10. Thou shalt foreswear, renounce, and abjure the vile heresy which claimeth that “All the world’s a VAX”, and have no commerce with the benighted heathens who cling to this barbarous belief, that the days of thy program may be long even though the days of thy current machine be short.

Dell Studio: Epic Fail

Posted by Brian R Cline | Computer Maitenance,Dell,Experience,Uncategorized,Windows | Friday 5 February 2010 12:26 pm

At work today, I had a user come see me regarding his keyboard suddenly not working on his Dell Studio 1550 laptop which the company bought about a month ago. Keys being pressed weren’t being sent properly to Windows 7, and LEDs weren’t properly lit.

Solution:

  1. Remove the battery
  2. Press and hold the power button for about 10seconds

Apparently, this solution removes static build up?

The Progression of Information Technology

Posted by Brian R Cline | Uncategorized | Wednesday 16 December 2009 12:45 am

Next Page »