jf
(6 comments, 93 posts)
This user hasn't shared any profile information
Home page: http://www.wacdesigns.com
Posts by jf
SEO: Bounce rate of a website
0
Why is my bounce rate so high ?

Definition: A bounce occurs when a person leaves your website after reaching your entry page. The above cases can be considered equally as bounces from your website.
1) Visitor enters your site and press back immediately (before or even after the page has loaded)
2) Visitor waits for the page to load stays on this page for some time and then press back or navigate on another site. ( In this case the visitor might have found the information and then chose to navigate elsewhere to either find some supplementary information. Or it could be that he/she might not have found it but just read some pieces to see what is there, a third case could be the persons did not like the: website, content or colors on the site and went away.)
Therefore there seems to be considerable number of aspects to take into consideration to get a more precise question about “Why is my bounce rate so high ?”. There isn’t any straight forward answer to this question, but there are many questions that can lead to possible solutions:
When you ask your questions about bounce rate here are the different questions that might come to your mind.
Why is my bounce rate so high ?
User Interface
Is my layout/presentation/design attractive to visitors ?
Does my pages load slowly ?
Do my page have appropriate ads ? Are these ads non-aggressive towards the user ?
Is your page browser friendly ? (Can be views at any resolution with any browser the same way)
Content
Does
Windows Live Writer
0It’s been not nearly a year since I last used Windows Live Writer, there seems to have been a lot of enhancement and changes compared to the first version that i have tried up. Today, I’ll be giving a try to the beta version (Build 14.0.5025.904). The setup was quiet easy and straight forward, warning me that I must enable XML-RPC on my blog before I can continue.
The first thing I installed is the S3 Object plug-in, to be able to upload images directly to my Amazon S3 account and use them on this post.
This image comes from my S3 bucket.
There are many feature such as the Insert Map: Let’s try it out and point out Mauritius for example
Nice. I have also created a Marker (Push Pin). Which does not seem to appear, When you create a map on Windows Live Messenger, it’s not the actual map that appears but an image with a link to the actual map…
Some other comment: There is to a problem, when there are connection cuts. The application just hangs during an operation. It was the case for my first post. Hope that is will be happen.
Conclusion a very nice and elaborated tool for blogging. I’ll will be trying it for a fews days and will send some feedback on this post. Or create a new one if need be.
My previous article to Windows Live Writer can be found here
Random pictures: Karate or Kung Fu Lessons ?
0These two seems to be in need of some bucks.. HELP THEM !!!
Post your comments for the karate girl here.
Post your comments for the kung fu guy here.
backup and share files using MozyHome and Dropbox
1If you are wondering what are the choices you have to make share and backup your files, you might easily be able to find hundreds of alternative on the web today. Each one with their different features and technologies.
I came across 2 free tools that i use for my backup and file sharing:
MozyHome Remote Backup

MozyHome is a small application that runs on background and backups any folder that you configure it to. It will encrypt and then upload your files to your 2 GB free space. You have several tools to enable you to them restore any lost files. Nice for uploading document, project files. You have also the paid version with unlimited space.
Dropbox

Dropbox is a new tool, that just got public last week. It’s similar to Mozybackup with 2 GB free space and the posibility of backup your files. With some extra features such as file sharing and automatic sync. Personally I use it to share files only. Since your files need to be in the DropDox folder (Similar concept and LiveMSN sharing folder) to be able to share.
It also allows sharing of files and give you a nice public URL that you can easily send to the person you want to share your files with. The only lacking features i might see here, is that you can’t share an entire folder with files inside. i.e When you want to share several photos you can’t directly get a link to the folder. You must share it with someone that already has Dropbox. A feature that would enable a link to a zip version of an entire folder could be nice.
IIS: Redirection from non-www to www domain
0The problem today, is that we have a great asp.net website but search engines are indexing the http://greataspnetwebsite.com instead of http://www.greataspnetwebsite.com, this is commonly seen on the web and there are several ways to archive a good result for making the non-www to www domain. This redirection should be a 301 Permanently Moved, otherwise you will might lose your search engine indexed page or become duplicate content for your non-www and www domain. Here are easy steps how to archive a quick and clean Permanent Redirection using IIS.
Consider the case where we already have a website in IIS called: greataspnetwebsite.com
- Go to IIS Manager
- Create a new website that point to the same directory as your existing one
- Select the newly created website, open the properties box
- In the option button “When connecting to this resource the content should come from” should be change to “A redirection to a URL“
- Specify the URL http://www.greataspnetwebsite.com
- Select the check box that says “A permanent redirection for this resource.”
Copy-Clone custom object in C#
1This post relates how to Copy/Clone custom object in C# (Deep and Shallow Clone).
In this example I will be having a base class that all my custom object will be inheriting from.
Updates: After quiet some research on the subject i recently found some interesting articles on this subject and wanted to share them on this post.
Object Cloning Using IL in C#
This subject is inspired on a session I followed on the TechDays 2008,
that addressed the fact that IL (Intermediate Language) can be used to clone objects, among other things, and that it’s not evil at all, and it can be pretty performant also.You only have to see that you don’t overuse it tho, because otherwise the readability of your code is reduced, which is not a good thing for the maintenance.
And wrong usage of reflection (what IL is, or at least uses) can also result in poor performance.Read more:
http://whizzodev.blogspot.com/2008/03/object-cloning-using-il-in-c.html
C# Class For Making a Deep Copy Clone of an Arbitrary Object
Here is a C# class that can create a deep copy clone of an arbitrary object. The thing that’s special about it is that it should work for any class that extends it, so that you don’t need to re-write a custom clone() function for every child class (as it seems the C# framework creators would like). This does a deep copy so be careful about members that recursively include one another.
Another way of doing this would be to use serialization . . . I just personally thought the reflection package would be more elegant.
Read more:
http://www.thomashapp.com/node/106
C# Object Clone Wars
Cloning C# objects is one of those things that appears easy but is actually quite complicated with many “gotchas.” This article describes the most common ways to clone a C# object.
Shallow vs. Deep Cloning
There are two types of object cloning: shallow and deep. A shallow clone copies the references but not the referenced objects. A deep clone copies the referenced objects as well.
Clone C# Object using Serialization and De-serialization (Deep Clone)
In this example i’ll be using Serialization and De-Serialization to make a deep clone of the Person Class.
You must import the following namespaces to start with.
using System; using System.Text; using System.Xml; using System.Xml.Serialization; using System.Runtime.Serialization; using System.IO;
Let’s create a base class Person that all our other classes with inherit from. It will contain the following methods:
- ToXMLString() : Returns an XML version of the current object
- Deserialize(XmlDocument xml, Type type) : De-serialize the current XMLDocument cast it to the current type
- Serialize(object o) : Serialize the current object and outputs an XMLDocument
- Clone(): Runs a Serialization and De-serialization and returns a clone of the current Object
[Serializable()]
public abstract class Person
{
/// <summary>
/// To XML string.
/// </summary>
/// <returns></returns>
public string ToXMLString()
{
XmlSerializer serializer = new XmlSerializer(this.GetType());
MemoryStream dataStream = new MemoryStream();
XmlTextWriter writer = new XmlTextWriter(dataStream, Encoding.UTF8);
serializer.Serialize(dataStream, this);
return writer.ToString();
}
/// <summary>
/// Deserializes an xml document back into an object
/// </summary>
/// <param name="xml">The xml data to deserialize</param>
/// <param name="type">The type of the object being deserialized</param>
/// <returns>A deserialized object</returns>
public static object Deserialize(XmlDocument xml, Type type)
{
XmlSerializer s = new XmlSerializer(type);
string xmlString = xml.OuterXml.ToString();
byte[] buffer = ASCIIEncoding.UTF8.GetBytes(xmlString);
MemoryStream ms = new MemoryStream(buffer);
XmlReader reader = new XmlTextReader(ms);
Exception caught = null;
try
{
object o = s.Deserialize(reader);
return o;
}
catch (Exception e)
{
caught = e;
}
finally
{
reader.Close();
if (caught != null)
throw caught;
}
return null;
}
/// <summary>
/// Serializes an object into an Xml Document
/// </summary>
/// <param name="o">The object to serialize</param>
/// <returns>An Xml Document consisting of said object's data</returns>
public static XmlDocument Serialize(object o)
{
XmlSerializer s = new XmlSerializer(o.GetType());
MemoryStream ms = new MemoryStream();
XmlTextWriter writer = new XmlTextWriter(ms, new UTF8Encoding());
writer.Formatting = Formatting.Indented;
writer.IndentChar = ' ';
writer.Indentation = 5;
Exception caught = null;
try
{
s.Serialize(writer, o);
XmlDocument xml = new XmlDocument();
string xmlString = ASCIIEncoding.UTF8.GetString(ms.ToArray());
xml.LoadXml(xmlString);
return xml;
}
catch (Exception e)
{
caught = e;
}
finally
{
writer.Close();
ms.Close();
if (caught != null)
throw caught;
}
return null;
}
/// <summary>
/// Creates a new object that is a copy of the current instance.
/// </summary>
/// <returns>
/// A new object that is a copy of this instance.
/// </returns>
public object Clone()
{
return Deserialize(Serialize(this), this.GetType());
}
}
Here are sample classes that herits from the abstract base class and clone operation are performed upon them.
public class Clerk: Person
{
private string position;
/// <summary>
/// Gets or sets the position.
/// </summary>
/// <value>The position.</value>
public string Position
{
get { return position; }
set { position = value; }
}
}
public class Developer: Person
{
private string skill;
/// <summary>
/// Gets or sets the skill.
/// </summary>
/// <value>The skill.</value>
public string Skill
{
get { return skill; }
set { skill= value; }
}
}
Using clone method.
public void UpdateSkills()
{
IList<clerk> clerkList = new ArrayList();
IList<clerk> newClerkList = new ArrayList();
foreach (Clerk clerk in clerkList)
{
newClerkList.Add((Clerk)clerk.Clone());
}
}
Fatal error: require_once() [function.require]: Failed opening required ‘Text/Diff/Renderer.php’
1Was just trying to view one of my post that i modified once after being published and bumbed up with a page with these error messages:
Warning: ini_set() has been disabled for security reasons in /home/wacdesig/public_html/wp-includes/pluggable.php on line 1517
Warning: require_once(Text/Diff/Renderer.php) [function.require-once]: failed to open stream: No such file or directory in /home/wacdesig/public_html/wp-includes/Text/Diff/Renderer/inline.php on line 17
Fatal error: require_once() [function.require]: Failed opening required ‘Text/Diff/Renderer.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/wacdesig/public_html/wp-includes/Text/Diff/Renderer/inline.php on line 17
Apparently this is due to my hosting provider that have disabled the use the the PHP function ini_set(). Great !!! how do i edit post that i have edited before… fortunately i found out someone that came up with a solution
.
Please note that this issue is only for WP 2.6 and is cause by the new Revision module that allows you to view a revision of your post before it was edited.
Here is the link to the solution for this problem:http://www.code-styling.de/english/wordpress-26-and-the-textdiff-fatal-errors
I also found another solution for those who don’t want to download the modified WP source file that is proposed in the first solution
Edit the wp-includes/Text/Diff.php, line 52 :
require_once ABSPATH . WPINC . '/Text/Diff/Engine/' . $engine . '.php';
Edit the wp-includes/Text/Diff/Renderer/inline.php, line 17 :
require_once ABSPATH . WPINC . '/Text/Diff/Renderer.php';
Sourceforge.net redesigned home page
0
While searching for some open source software today, i just bumbed onto a “new”: Streamed and clearer version of sourceforge.net website. It’s quiet nice i may say, when u enter the page, u don’t have a lot of stuff, like the normal one.
It’s a Google like home page i may say, not many actions, but the essentials that are needed is visible. Let’s say is more web 2.0
The bright orange is a bit too flashy and takes up too much of the screen i may think. It could have been a bit smaller.
For those who don’t what sourceforge.net is about here is a part of the description from wikipedia:
SourceForge.net is a source code repository and acts as a centralized location for software developers to control and manage open source software development. SourceForge.net is operated by Sourceforge, Inc. (formerly VA Software) and runs a version of the SourceForge software, forked from the last open-source version available. A large number of open source projects are hosted on the site (it had reached 178,832 projects and 1,861,990 registered users[2] as of 2008, although it does contain many dormant or single-user projects).
SourceForge.net has offered free access to hosting and tools for developers of free software / open source software for several years, and has become well-known within such development communities for these services.
SourceForge.net competes with other providers such as RubyForge, Tigris.org, BountySource, BerliOS, JavaForge and GNU Savannah.
Read more about sourceforge here.
Yahoo! Search BOSS
0Yahoo has just opened his search engine to us developer folks, we can now mindle and medle about to improve our search result on our own website. The codename for this open API is BOSS (Build your Own Search Service). As describe in zdnet article: is this a way for Yahoo to try to get some market shares in the search industry on GOOG.
Here is an extract from Yahoo! Search BOSS YDN
BOSS (Build your Own Search Service) is Yahoo!’s open search web services platform. The goal of BOSS is simple: to foster innovation in the search industry. Developers, start-ups, and large Internet companies can use BOSS to build and launch web-scale search products that utilize the entire Yahoo! Search index. BOSS gives you access to Yahoo!’s investments in crawling and indexing, ranking and relevancy algorithms, and powerful infrastructure. By combining your unique assets and ideas with our search technology assets, BOSS is a platform for the next generation of search innovation, serving hundreds of millions of users across the Web.

I’ll try to experiment a bit on it, to see if i can get to integrate the search on this blog for a small…




Recent Comments