Cloud computing implementation – Eucalyptus

On 24th of December i attended a online session on “Open Cloud” using Eucalyptus Community Cloud on #dgplug channel on freenode. It was organized by Kushal Das. We went through the different features of the user console. We created Key-Pairs & Security groups. I was unable to attend rest of session due to poor internet.

I asked Chandan kumar to provide me session logs. While going through the logs, I started  instances and sshed into them. It was wonderful experience implementing cloud computing practically. I would like to attend more online sessions in future.

What is SEO ?

What is SEO ?

Simply, search engine optimization (SEO)  is the process of improving the volume and quality of web traffic to a website by implementing a series of proven SEO techniques that help a website achieve a higher ranking with the major search engines when certain keywords and phrases are put in the search field.

To put this into context, consider your own Internet search habits. When you want to find information, your first instinct is to use a search engine because it is the fastest and easiest way to get it. Once the search results are posted, you’re far more likely to explore the links on the first page of results because they are the most relevant to what you are looking for and allow you to find what you’re looking for easily.

That is the goal of search engine optimization. To optimize your website so that the major search engines rank your site as highly as possible which, in turn, leads to a greater volume of qualified traffic. SEO can level the playing field for your business whether your business is a Fortune 500 company or a brand new business venture trying to get noticed in a competitive field. Done properly, SEO puts your site on the left side of the page where it gains instant credibility with the very people that you wish to reach.

How does Search Engine Marketing Achieve this ?

This is where SEO can be a bit confusing as there is no single, comprehensive approach that works for every website. Just as every company is unique, success with SEO requires that an Internet marketing solutions company draft a unique strategy for each client. There are no shortcuts and better rankings are achieved in weeks not days but if done properly, SEO will transform a website into a powerful web presence that creates an energy about your goods and services and engages your target audience.

To achieve this, an SEO services firm will employ a combination of the following SEO practices and more:

  • An SEO Strategy – SEO analysis of your site conducted by an experienced SEO advisor to identify opportunities for improvement and devise a comprehensive approach that will get results.
  • Keyword Research – Thorough research of your industry and identification of which keywords and phrases will achieve the best results.
  • SEO Copy writing – Content optimization using your keywords and phrases in the pages of your site to achieve higher ranking.
  • Link Building – The process of creating inbound links to your website which allows your site to achieve a higher ranking.

These are the main aspects of an effective SEO strategy but there are several more methods that can be employed to help your site achieve a higher search engine ranking.

Reference : http://www.brickmarketing.com/define-search-engine-optimization.htm

Counter Strike 1.6 Rate Settings

There are 4 main commands which are considered “rates”, I am going to go explain each one and what the best setting is for each and why.

rate
Ah rate, the setting that is set wrong by 95% of people who don’t have a clue and just copy everyone else. First we will start off with a quick history lesson. Quake, legendary game, the game engine that was used to make Half-Life and in turn CS was created using the Quake engine. Quake has rates too! And in fact the max rate on Quake was 25000. This is why today most players use a rate of 25000. This is wrong.
Half-Life/CS has a maximum rate of 20000, it has been proven many times, and setting your rate to 25000 is pointless and will in fact waste bandwidth.

People also say well rate 25000 is for LAN and 20000 is for online, wrong again. When you play on LAN, rate does nothing at all, in fact you could have rate set to 100, and it would have no effect on LAN, wtf you ask? When you play on LAN, rate is ignored, and it uses sv_lan_rate instead, and by default, yes you guessed it, is set to 20000. So all the ‘pro’ players thinking you have been playing with a rate of 25000 on LAN are wrong, you have been playing with 20000 all along. noobs.

Best Setting: 20000

cl_cmdrate
Another setting set wrong by 95% of people, the norm was to set this to 101, as your cl_updaterate was set to 101(I will cover this later) but again, this is wrong. Cmdrate is data you SEND to the server, so every time you shoot, move, move your mouse, anything, cmdrate uploads data. Now because most people use 100fps people set it 1 above this to 101, so that you are always sending more data than needed, but 101 isn’t enough.

This can be seen by net graph. Red dots appear at the bottom when data is not sent because your cmdrate is not high enough. Try setting your cmdrate to 50, and look at net_graph 1, lots of red dots at the bottom = bad.

Now with 101 you still get red dots, in fact the best cmdrate to use is 105. And I have used this all along.

Best setting: 105
Assuming you have 100fps (+5 your FPS, 100fps = 105 cmdrate.)

cl_updaterate
updaterate is a tricky one, as the best setting is different depending on the server. cmdrate is data you send to the server, updaterate is data you receive from the server. People just used to set this to 101 to match cmdrate but didn’t really know why.

So how do you know what to set it to? Servers have a setting called sv_maxupdaterate which determine the maximum updates it will send to you, the default for a CS server is 30, which is bad, most servers nowadays have this set to 100+ but some publics you will find still have it set to 30. There is no way you check what this is set to unless you have rcon to the server, but you can look at the lines on net_graph 1 to predict what it is set to.

To show this, set your updaterate to 100, then ex_interp 0. (I will cover this later) then join a server, if you see lots of orange and yellow dots on your net graph, this means your interp is set wrong for the server and you are not receiving the right amount of updates for your interp setting. Try lowing your updaterate by increments of 10 until the yellow/orange dots go away, you will find servers that have maxupdaterate set to 30 they will go away when you set it to 30 etc.

But what if you join a server that does have sv_maxupdaterate set to 100+?
Like I said, everyone just used to set it to 101 and leave it like that, this is wrong, the correct setting should match your interp otherwise will cause reg problems. The last few CS updates they briefly changed this to maximum 100 but because everyone had 101 in their config, it defaulted to 30 and caused mass spam to steam support asking them why, so because of this they changed the max to 102, just to stop the spam of forum threads of steam support, but really the correct setting you should use is 100, which matches perfectly with ex_interp 0.01 which I will go over next.

My server has sv_maxupdaterate set to 100, but I’m still getting yellow/orange dots!
Just because a server has the right setting does not mean it can still actually send 100 updates per second, some bad servers can’t handle it and you should lower your updaterate by 10 until the dots go away, note servers like this are very bad as it depends on how many players and how much action is going on at the time. For example whole team rushes B the server cant handle all the traffic of 10 people shooting at once and can only send for example 50 updates per second instead of 100 at that time, so everyone in that moment gets bad reg (which shown by orange/yellow dots). But when everyone is dead but 2 players, the server can again send 100updates per second and you get good reg. To fix this, you either buy a good server, or lower your sv_maxupdaterate on the server to compensate for its shityness.

Best setting: 100
Assuming server is using sv_maxupdaterate 100+ and can handle it.

ex_interp
Another tricky one, closely tied in with cl_updaterate, interp has been a question of debate for a long time, there was a bug within cs with interp through CS 1.5 and caused much QQ within the community as you could use it to your advantage in some situations.

In 1.6 however, they fixed it and interp works as intended, as long as you have it set correctly. The correct setting is always 1 divided by your updaterate, so if your updaterate is set to 100, the best setting is 0.01. But why do some people set it to 0?!
Valve added a nice feature that automatically calculates the best interp for you depending on your updaterate, by setting it to 0 if you check your console it will show you what it has calculated it to. So if you have updaterate set to 100, then ex_interp 0, CS will automatically set your interp to 0.01, then if you change your updaterate to 30, your interp will automatically change to 0.33 etc. So the best setting you can use is always 0, then depending on the server, you should lower your updaterate depending on how good the server is and depending on what the sv_maxupdaterate is set to and CS will automatically set your interp to the correct value.

This caused a problem with people using updaterate 101 as when you set your interp to 0 it will try and divide this by 10 and you will get 0.009 which is designed for an updaterate of 110 which you can not set and will cause reg problems. Setting your updaterate to 101 and using ex_interp 0.01 wont do any harm but it is pointless using 101 and you loose the benefit of CS auto calculating your interp for you.

Best setting: 0
I will update this with images and anything else I can think of as I go along; any questions just add a comment below. All the info from this is from valid valve sources but feel free to prove me wrong on anything.

TLDR
rate 20000

cl_cmdrate 105
Assuming you have 100fps (+5 your FPS, 100fps = 105 cmdrate.)

cl_updaterate 100
Assuming server is using sv_maxupdaterate 100+ and can handle it.

ex_interp 0

reference :- http://www.hltv.org/forum/104445-cs-16-ping

How to Fix Counter strike 1.6 fatal error

There is a common problem with the  game Counter strike 1.6 that when we try to run the game, there could be a fatal error arises that says ” available memory less than 15 MB”and it doesnt play at all. Some times it says something like this:

“The instruction at”0xd5ab12ff” referenced mamory at “0x0003698″ . The Memory Could  Not Be Read”. when starting CS

On trying to fix this problem that faced by my friends, I found more than one reason for this problem. I tries my level best to solve this by some methods.

Fix 1 :

This was the most simple fix for this problem. All you have to do is Goto the main game directory, that is where you install the game counter strike and Find the executable file of  the cs game.

1. Right click on the .exe file then click properties
2. Click on the compatibility tab then Check the “Run the program in compatibilty mode     for” option and    select win Xp from the dropdown menu.

Usually this may fix your problem of getting the error.

Fix 2 :

If Last Solution doesnt help try this one

1. Download this file Click here depositfiles.com/files/7165571
2. Goto the main game directory(where HLDS.exe is located too), then back up the old
existing file you downloaded.
3. copy and overwrite the new file in the directory

Start your game!

This two fixes usually solves the problems while playing the game Counter strike 1.6 including fatal error.