Wednesday, September 19, 2007

SEO Tip: Reciprocal Link

Wikipedia describes Reciprocal Link as

"A reciprocal link is a mutual link between two objects, commonly between two websites in order to ensure mutual traffic."

What it means is, suppose 2 websites are there (name them siteA and siteB). You link siteB in siteA and siteA in siteB.

siteA -> siteB ->siteA

So you can say the websites are reciprocally linked.

You can submit to Reciprocal Link Directories to achieve higher Page Ranks.Reciprocal linking between websites became an important part of the search engine optimization process because of PageRank Algorithm of Google,which ranks websites for relevancy dependent on the number of links that led to a particular page and the anchor text of the link.

It may be discarded by search engines so more strategic steps can be taken like Three way linking.

Sites for reciprocal linking
Web ring
Reciprocal Lynx

Tuesday, September 18, 2007

How to :Increase Traffic to your Blog

How could you increase the site traffic to your blog? You might list in blog directories and search engines, but yet no online traffic might ever come to your site.


Blogexplosion is like a web traffic generator and gets confirmed traffic to your blog. The principle is simple, you visit other peoples blogs and they visit yours and you increase site traffic. For every 2 blogs you visit, one visitor comes to you. This is very good if you are new blogger and want to build traffic. If you visit 10 blogs, 5 confirmed visitors will come to you. Moreover, you surf those blogs you like as per your category preferences.

Thursday, September 13, 2007

Singleton Class in C#

1 public sealed class SingletonClass
2 {
3
private SingletonClass()
4
{
5 }
6
7 private static SingletonClass instance = new SingletonClass();
8
9 public static SingletonClass Instance
10 {
11 get
12
{
13
if(instance == null)
14
{
15 instance = new SingletonClass();
16 return instance;
17 }
18
else
19
return instance;
20
}
21
}
22
}

Wednesday, September 12, 2007

Cracking Passwords, Rainbows and Salt

A great explanation of cracking passwords with rainbow tables and the benefits of salting your hashes is to be found in Rainbow Hash Cracking.

What is life?

Don’t miss the life you have in the search for the one you think you want.

To quote John Lennon, “Life is what happens while you are busy making other plans.”

But perhaps Pascal said it best, “We never keep to the present. We … anticipate the future as if we found it too slow in coming and were trying to hurry it up, or we recall the past as if to stay its too rapid flight. We are so unwise that we wander about in times that do not belong to us and do not think of the only one that does; so vain that we dream of times that are not and blindly flee the only one that is… [We] think of how we are going to arrange things over which we have no control for a time we can never be sure of reaching… Thus we never actually live, but hope to live, and since we are always planning how to be happy, it is inevitable that we should never be so.”

How Brain Works

Solution to command prompt problems.

When you receive command not recognized as internal or external command, when you type a command in windows.

Just right click on My computer then select properties from the menu, then Adanced Tab and in that click on Environment Veriables, then specify the path to your command prompt.

Monday, September 10, 2007

"Web 2.0" in just under 5 minutes.


http://mediatedcultures.net

This is a slightly revised and cleaned up version of the video that was featured on YouTube in February 2007.

I considered releasing it as an "eternal beta" in true Web 2.0 style, but decided to let it stand as is and start working on future projects. Many of my future videos will address the last 30 seconds of this video (the "rethink ..." part).

Thank you all for the helpful comments on the earlier draft. It has been a great experience to connect with so many people interested in
similar issues.

Once again, there are higher quality versions available for download:

Windows Media File (55 MB):
http://www.mediafire.com/?22l2vyomimv

Quicktime File (96 MB):
http://www.mediafire.com/?ammm122k1ma

Mojiti Version (for comments, translations, etc.):
http://mojiti.com/kan/2743/5984

This work is licensed under a Creative Commons
Attribution-Noncommercial-Share Alike 3.0 License. So you are welcome to download it, share it, even change it, just as long as you give me some credit and you don't sell it or use it to sell anything. I received many more positive comments than negative about the song choice (great work Deus!), but if you are one of those who does not like the song just download the video and change the audio track to your liking.

The video was created by me (Michael Wesch), working alone from my house in St. George, Kansas. I used CamStudio for the screen captures and Sony Vegas for the panning/cropping/zooming animations. Someday I might make a video tutorial for those who are interested.




Thursday, September 06, 2007

Row ID in Mysql and Using it for Serial Number

SET @rownum := 0;
select @rownum :=@rownum + 1 AS rank,EmpID,EmpName,EmpCity from employeedetails where empname ='kiran'


Carry over a value from previous row.

Tuesday, September 04, 2007

Religion vs Science

Faith vs Reason
Revelation vs Experiment
Dogma vs Discovery
Belief vs Truth

Is it that simple?

Future of Education and Learning :Personal Learning Networks

Throughout history, humans have always created our own learning networks. When we needed to know how to do something, we sought out the expert in that field and they shared their knowledge. For example, hunters knew who to talk to about the latest in hunting techniques. Farmers knew who to talk to regarding the latest in agricultural technology practices. (And students could talk to their brilliant teachers!) Now we have the Internet to access more information about whatever we need to know. However, now there is not necessarily a need anymore to find “the” expert in a field of study. Instead, we need to create our own network of experts, our own Personal Learning Network.

What is a Personal Learning Network? It is a collection of resources that you can go to when you want to learn something. This includes family and friends, teachers, and people in the local community. It can also include non-human resources, such as books, journals and other forms of media. In the 21st century, there’s also an extensive electronic network of resources that you can – and should – include in your network. This includes resources on the Internet such as webpages, podcasts, and the electronic databases.

But it also includes human resources that are available to you via the Internet, your own personal collection of “experts” on various topics from all over the world. One way to build that collection of experts is via RSS Feeds, which allows you to subscribe to their content and have it delivered to you in your RSS Aggregator (e.g., Google Reader). Every time they produce new content, it automatically gets delivered to you, allowing you to tap their knowledge and wisdom from afar. It helps you to develop your own understanding of the world, to participate in the conversations that are going on, and to have a say in the world in which we live.

And Mashups are much more advanced tools for Combining multiple sources.

Common Knowledge

From the book What Is Your Dangerous Idea?

What will happen to common knowledge in the future? I do think our ancestors had it easy: Aside from all the juicy bits of unshared gossip and some proprietary trade secrets and the like, people all knew pretty much the same things and knew that they knew the same things. There just wasn't that much to know. Won't people be able to create and exploit illusions of common knowledge in the future, virtual worlds in which people only think they are in touch with their cyberneighbors?

New buzz and trend

The things have changed on the net , people used to ask "whats your Web2.0 startup?" now the same people are asking "where's your Facebook app?" If you want to be noticed, then hurry.


why they can't understand?

I don't understand the obsession with people wanting web pages to do everything all in the one go. It's like we're removing the need for hyperlinks and navigation. People are perfectly happy to edit the information in a new window, make their change, click the save button (which can close the opened window or takes them back to the originating page) and see their changes. The user knows what's going on as it's an obvious transition between Edit and View modes of the website. This is still a viable solution to a development problem and continues to be used today in mainstream applications like Yahoo!

Best Practices-- Date Control

While designing web pages you come across Date filed (Ex. releasing dates, stocking dates, order dates, shipping dates,birth dates,wedding dates, you name it.) many times.

I realised that there was no real consistancy with dates, in all there is about 4 different ways that a user can enter in a date. That made me think, why isn't there a standard. Surely there has to be a best practice in relation to accepting user dates.

Dates are of Two types :
1. Known Date :A known date is where the user is fully aware of the exact date, like a birth date, a start date, an expiry date. Known Dates are usually entered by the user using the a form element like a drop down box or even entering the text into a textbox.

2. Fuzzy Date :A Fuzzy Date is where the user isn't excatly sure of the date they have in mind and need prompting from the graphical interface. The date could be the first weekend in August or the Monday before the 26th of December. To properly assist the user with this type of date, Calendar functions are used and the user select the day they would like.

Cool Search Engine Facility by Yahoo-- Instant Feedback

Yahoo has designed cool search engine called yahoo instant search its similar to google suggest but there is no need to click the search button also. Click here to Visit the search engine and here to visit the shortcuts page.

Natural Languages in Programming Languages

I think natural language in applications/and programs are a great idea and are a move forward from unintuitive commands that are hard to remember. They break down barriers between user and application, communication is improved both ways and users feel comfortable asking a simple question rather than working out the correct command to get their answer. However the drawback is though that even though there is more communication there could be a lot of misunderstanding and ambiguity, and vague requests will need to be interpreted and handled properly by the system.

Monday, September 03, 2007

Javascript KeyCode Reference table for Event Handling

The post explains Keyboard event handling using javascript.Javascript events are used to capture user keystrokes.

Below is a table of key codes for the keys on a multimedia keyboard. If this table is inconsistent with your own findings, please let me know.



Java Script Code to Find Key code

<script language="JavaScript">
document.onkeydown = checkKeycode
function checkKeycode(e) {
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
alert("keycode: " + keycode);
}
</script>



Key Code Reference Table


Key Pressed

Javascript Key Code

backspace

8

tab

9

enter

13

shift

16

ctrl

17

alt

18

pause/break

19

caps lock

20

escape

27

page up

33

page down

34

end

35

home

36

left arrow

37

up arrow

38

right arrow

39

down arrow

40

insert

45

delete

46

0

48

1

49

2

50

3

51

4

52

5

53

6

54

7

55

8

56

9

57

a

65

b

66

c

67

d

68

e

69

f

70

g

71

h

72

i

73

j

74

k

75

l

76

m

77

n

78

o

79

p

80

q

81

r

82

s

83

t

84

u

85

v

86

w

87

x

88

y

89

z

90

left window key

91

right window key

92

select key

93

numpad 0

96

numpad 1

97

numpad 2

98

numpad 3

99

numpad 4

100

numpad 5

101

numpad 6

102

numpad 7

103

numpad 8

104

numpad 9

105

multiply

106

add

107

subtract

109

decimal point

110

divide

111

f1

112

f2

113

f3

114

f4

115

f5

116

f6

117

f7

118

f8

119

f9

120

f10

121

f11

122

f12

123

num lock

144

scroll lock

145

semi-colon

186

equal sign

187

comma

188

dash

189

period

190

forward slash

191

grave accent

192

open bracket

219

back slash

220

close braket

221

single quote

222