How to Scatter Ashes

As the local regulations allow it, you want to conduct a scattering ceremony in a place meaningful to you. Some people do not find it right to simply pour the ashes of a loved one onto the ground or into the sea. When you want to scatter ashes scattered somewhere, it is critical to talk in advance to the person or persons who will actually have to do the cremation ashes scattering ceremony. These people might want to assist in the scattering ceremony. If you also want to know how to scatter ashes, you can read this article. This article can be a great help to you.

There are many options when it comes to scattering the ashes. When you want to do this on a private property, you need to take the permission of the owner. In case of scattering ashes in a public place, you should check the local regulations.

Many people prefer to scatter ashes in the place, which is close to the home like in the garden or flowerbeds. Some people even decide to scatter ashes off the deck. A farmer can also scatter ashes over his land. These places are popular because it is very easy to build a memorial on your own property. You can also scatter ashes in that place which holds special meaning to the deceased. This site can be a place like a golf course, hunting grounds, fishing hole, a hiking trail, a mountain or ski trail. There is no shortage of places to scattering cremation ashes.

You must have seen the ashes floating over the sea. You can use sea as the fastest way to the greatest dispersal. If you want to scatter the ashes far and wide, then the sea is appropriate. However you cannot build a memorial at sea and it does not give us a place that you can visit. You can build a memorial at a comfortable place to visit when you are going to scatter ashes in the sea.

Many different approaches can be used to scatter the ashes. Few of them are:

Casting:

Casting is a method of scattering in which the remains are tossed into the wind. Here you need to check the direction of the wind. Now, you have to cast the remains downwind. In this method some of the remains will fall to the ground whereas the lighter particles will blow in the wind.

It is also permissible that one person in the group may scatter some and give the container to the next person. In this way, everyone will get a chance to ceremonially cast the remains. There is one more option in which people are given paper cups or casting cups and they scatter simultaneously just like a toasting gesture.

Trenching:

Trenching refers to digging a hole in the ground. The remains are then put into the trench. You can put the remains directly into the trench or place it in a biodegradable urn or bag. When the ceremony gets completed, the survivors often rake over the trench. The name of the deceased person can be drawn in the dirt or sand. You can also take a photo of this for a memory book. Family and friends can also join hands to form a circle. If there is not much wind, you can light the candles around the site. You can give candles to each person as a keepsake.

Raking:

Raking refers to discharging the cremated remains from an urn on loose soil. You have to rake them into the ground at the end of the ceremony. It is advisable to keep the urn close to the ground while pouring the remains on the ground due to wind.

Green Burial:

Green Burial is basically done either at a “Green Cemetery” or at a traditional cemetery. Most of the times, the cemeteries allow you to place a biodegradable bag on top of a gravesite as long as it is buried. Obviously, you should check with the cemetery and look out for their requirements too.

Water Scattering:

Water scattering involves placing the remains into a water body. You can use a biodegradable bag or urn for water scattering. It can happen that the ash can blow back into a person’s face or get washed up onto the side of the boat. Both these experiences can be painful and it is obviously not the same memory you wish for. You can also browse the internet to find people who own boats and are experienced. You can also buy urns from the market specially designed to gently float away. They are also biodegradable. You can also see the people throwing rose petals or flowers into the water after the urn.

Law:

There is no law that specifies the scattering of ashes on ordinary land or in rivers is technically illegal to put the ashes on someone else’s land or in rivers without the owner’s permission.

The Environment Agency however published a policy about the scattering of ashes. This is to help and protect the environment. This law particularly deals with spreading of ashes on rivers and streams. There is no evidence that the disposal of human ashes in rivers and streams can have a negative impact on the environment.  However, the non-biodegradable items like metal and plastic can cause damage.

The rich mineral concentrations in cremated remains can also have a bad effect on the soils and eventually on the plants.

Do not:

  • Pour ashes within 1km radius of any drinking water supply
  • Pour ashes from a bridge over a river used by boaters
  • Fix ceremonies in windy weather because of the possibility of ashes being blown away.
  • Let any other non-biodegradable materials like metals and plastic bags to enter the water

Choose the time wisely to scatter the ashes. You can choose the time i.e. early in the morning or towards dusk. Now, you get to know enough about how to scatter ashes. Now, you can choose the time and place to scatter ashes wisely.

Related Tags: how to scatter ashes, www scattering-ashes com, ruling on scattering human ashes over water?, putting ashes to sea, prayer for tossing ashes into the sea, prayer for spreading of persons ashes, prayer for removal of remains from an urn, prayer for putting ashes to sea

Posted in Default. Tags: . No Comments »

How to Make a Scatter Plot

A scatter plot refers to that type of graph which you can use to represent the correlation between two different variables. How to make a scatter plot, when you have two variables. You can easily make a scatter plot after reading this article.

Let us take an example, it’s generally believed that the amount of time spent preparing for an exam will have a direct effect on how well a student will perform in that exam. To justify this theory, you can gather information from several students. The information would be of the number of hours they spend studying and their final test scores. You can then transfer the information into a scatter plot.

You can create many different types of scatter plots in Microsoft Excel 2007. We will however, focused on the most common variety. This is the scatter plot with only markers, in these instructions. You can easily adapt these steps and you can create any other types of scatter plots in Excel.

A scatter plot relates two paired sets of data. It is very useful for finding the correlation between the two data sets.

How to make a scatter plot:

First of all, draw a grid. Draw a horizontal line i.e. X Axis. Now, draw a vertical line i.e. Y Axis. Y axis will intersect the center of the horizontal line. You can do this effectively on the graph paper as you can exactly plot each point of data rather than guessing the approximate location. If all the data points are positive numbers, you do not require the whole grid. In such a scenario, you can draw an L shape facing right. The bottom line of the L is the X axis, and the vertical boundary is the Y axis.

Label each axis:

The scale of the plot depends solely on the type of data you deal with. For instance, the scale may be from 1 to 10 with the labels at every whole number. It can also go from 1 to 100 with the labels occurring at every 10 numbers. It may be from 0 to 1, with labels happening at every 0.1.

Plot the data points:

The first column of data relates the orientation along the X axis. The second column relates the data points’ orientation along the Y axis. For instance, when the point is (3, 5), you need to plot it 3 units to the right of the origin, and five units up. You have to represent each point by a small dot or x-mark. If there are two sets of data not in the form of (3, 5), then the horizontal axis has to be the independent variable. This is the one you think has caused the other. The vertical axis is the dependent variable. This is the one which is caused by the other set of data.

View the results:

If the results is closely grouped just like a line or parabola (U or V shape), then you can say that there is a strong correlation between the two sets of data. When they do not seem to be related, the correlation between the two sets of data is weak or there is no correlation. When there is a strong correlation and there is a sharp slope, then a change in the first variable results in the change in the second variable. If the slope is less or no slope (horizontal), a relatively large change in the first variable will only change the second variable a little.

Algebra makes the best use of the scatter diagram. There are also many real time applications where you can use it. For example, note the readings for “lung capacity” (first variable) and how much time that person could hold his breath (second variable). The researcher can now plot the data in a scatter plot by taking “lung capacity” in the X-axis and “time holding breath” in the Y-axis.

It requires a proper care to locate the data points in a scatter plot. You need to understand to locate the data points in the graph effectively. You also need to locate the points according to the scale specified earlier. Now, you are ready to how to make a scatter plot. Choose the horizontal axis and vertical axis wisely and interpret the results eventually.

Related Tags: how to make a scatter plot, How to make a scatter plot grid, how to make a scatter plot in excel 2010, how to make an excel scatter plot, how to make an X Y scatter plot, how to make two variables scatter plot in excel 2010, how to search the variable amount in a scatter plot, how to set up x axis and y axis for scattor plotin excel 2010

How to Start a Catalog Business

A catalog is a collection of the products that you group into different categories. You use this information to create web pages that help your customers browse your products. The categories in the catalogs can have sub-categories also. Catalog business is obviously a good idea. You just need to have a clear understanding about the catalogs. If you are looking for how to start a catalog business, this article is surely a great help for you.

You can define a product with variations like the same shirt can be of different colors. This is known as a product variant. You can also make catalogs to display on your Website in different languages and different currencies. It is also possible to link two products together such that when one is viewed, the other product appears on the same website page as an alternate suggestion.

Catalogs occur in hierarchies and relationships. You can organize the products in the catalog that can help the customers to easily navigate through the products that they want to buy. You can make category hierarchies and relationships among categories and products that belong to the same catalog or in different catalogs. In the case of a large catalog, you can create a parent category that contains many other categories. These subcategories are known as child categories. When customers navigate to the parent category, then the child categories appears. This helps customers to navigate easily and quickly to the category of the products they want.

You can go for different types of catalogs to meet your specific business needs. In addition to traditional catalogs that you need to sell goods in a business to consumer or business to business scenario, you can also make self-service and e Government catalogs. In this type of catalog, customers pay for the information that you give to them. Tourism sites also use self-service catalogs that provide a customer related information portal. You can also create inventory catalogs that include inventory information for the product catalogs. You can also share inventory catalogs between the product catalogs.

Now you know enough about catalogs and different types of catalogs. You can start a catalog business of your own. To start a catalogue business is a very popular way for new entrepreneurs to start a business of their own. With the increasing penetration of internet, the method of doing business like this has become more popular than ever. A large number of people are nowadays ordering items that you can receive by mail. This has created the opportunity for many people to start a business that has both a traditional catalogue as well as an online catalogue.

How to start a catalog business:

Things you’ll need:

Product suppliers

Print house

Website

Customer list

Startup capital

Instructions:

The first thing you require to do is that when you start a mail order catalogue business, you have to register a business. This will give you an official company name. To register a business and setting up a business bank account is a relatively easy process that is just a matter of filling out few forms and paying the fees to complete the paperwork. If you do not know how to begin, you can contact your local court house or Chamber of Commerce. They will gladly direct you in the right direction.

Now, you can sign up for a merchant account. You can do the sign up through your local bank or any internet based credit card billing company. You can go shopping around various companies to look out for the companies giving you the best rates. Most people also place the order by credit card. Very few people use checks or money orders, so it is very important that you are properly set up to accept and process credit cards.

Locate your suppliers. The people who enter into this business for the very first time will generally start their business by using drop shipping companies. A drop shipper will give you a list of those items that you can buy at wholesale prices and sell for retail. The drop shipper takes care of the warehouse, packages orders, and ships them as it seems like if they came from your company directly. Of course, the profits are low when someone else is doing most of the work. But, it saves a great deal of money from your start up costs since you do not need to buy a large inventory and have a place to store it. Risk is also less as you do not have to buy the item and hope that someone will order it.

Once you get enough suppliers in place, just go through the items available and select those items that you would like to include in your catalog. Your catalogue is just like a small library of products, if you include them all. It is a good thinking to focus more on the products that you think will sell.

When you get to know about the items you are going to sell, the next step is to set up a website which is going to be the home of your online catalogue. This is very much easier than it sounds. There are many catalogue management utilities available online that pretty much installs itself. They are also very easy to operate.

When you are ready to mail out actual print catalogues, find a print house in your area. You can get a number of options to print your catalogues. It can range from paper quality to color choices. You will also need someone who has the knowledge of publishing software like Quark Xpress, to design the catalogue layout.

Now mail the catalogues to a group of potential clients. It is a good idea to post an ad in the local newspaper. This can help you build a filtered list of people who may be interested in your products.

The catalog business is a very good way to become an entrepreneur. The risks of the business getting failed are comparatively low than others. This business can help you to achieve your dream. Now, you have enough about the catalogs and catalog business. How to start a catalog business is not a difficult question for you now. You just need a little courage to enter into the business of making catalogs.

Related Tags: how to start a catalog business, catalogs business things, company catalogue category, good idea to start a catalogue company, How do I teach someone how to create a catalogue, how to start a catalog business?

How to Find a Global Catalog Server

The global catalog represents a distributed data repository. It is a searchable and a partial representation of every object. The objects are in every domain in a multidomain active directory domain services (AD DS) forest. You can store these global catalogs on domain controllers that are designated as global catalog servers. They are distributed through multimaster replication. If you direct the searches directly to the global catalog, they are faster as they do not include referrals to different domain controllers now. You need to determine how to find a global catalog server. This can be told by knowing whether a domain controller is a global catalog server.

Other than configuration and schema directory partition replicas, every domain controller in a forest stores a full and exact replica of a single domain directory partition. So, a domain controller is able to find only the objects in its domain. Finding an object in a different domain needs the user or application to provide the domain of the requested object.

The global catalog can locate objects from any domain without any knowhow of the domain name. A global catalog server is basically a domain controller that can store a partial and read-only replica of the remaining domain directory partitions. The additional domain directory partitions are partial because there are limited set of attributes for each object. When you include the only attributes that you use for searching, the database of a single global catalog server can represent every object in every domain even in the largest forest.

The following events require a global catalog server:

Forest-wide searches:

The global catalog provides a resource to search an AD DS forest. Ldap port distinguishes the Forest-wide searches easily. If the search query makes use of port 3268, the global catalog server will take care of the search query.

User logon:

In a forest containing more than one domain, two conditions require the global catalog during user authentication:

In a domain operating with the Windows 2000 or higher version, the domain controllers must request universal group membership details from a global catalog server.

When the logon occurs with a user principal name (UPN) and the forest contains more than one domain, you require a global catalog server to resolve the name.

Universal Group Membership Caching: In a forest containing more than one domain and in sites that contains domain users but no global catalog server, you can use universal group membership caching to enable caching of logon credentials. Now, the global catalog does not require contacting for subsequent user logons. This feature gets rid of the need to retrieve universal group memberships across a WAN link from a global catalog server in a different site.

You can use the setting on the NTDS Settings object to denote whether a domain controller is specified as a global catalog server.

Administrative Credentials:

You have to be a member of the domain users group in active directory to use this procedure.

To identify whether a domain controller is a global catalog server:

First of all, open active directory sites and services.

In the console tree, enlarge the sites container. Now, expand the domain controller’s site that you want to check. Expand the server’s container and after that expand the server object.

Right click on the NTDS settings object. After that click the properties tab.

On the general tab, if the Global Catalog box is chosen, the domain controller is assigned as a global catalog server.

Configuring Global Catalog:

To configure a domain controller as a Global Catalogs is a skill. At the start, it is a difficult process but once you practice it and check the Global Catalog box, you will always remember that difficult path.

Let us start with the active directory sites and services snap-in.  Expand sites and set default fist site name for server.  Choose your server and search for the NTDS settings.  Now, Right click and choose properties tab. You just need to tick the global catalog box now.

You need to reboot the Windows Server 2000 server. The problem is that the interface does not tell you to reboot.  This problem is taken care by the Windows Server 2003. Now you do not have to reboot while you enable or disable global catalog.

The only difference on these instructions is that the servers are on different sites and not in the Default-First-Site-Name.

If there are firewall restrictions, LDAP uses port 389 for read and write and port 3268 for global catalog search operations.

You need not to worry even when you have only one domain.

Even when you have only one domain, there is nothing wrong if you don’t have a local global catalog server.  However, in case of a forest then there can be a problem and delays can result into a problem unless you locate global catalog servers judiciously.  The root of the problem is listing universal group membership.  It is actually pointless to use universal groups in a single domain. If you did so, they will result into users in your domain. There is no need to check other domains.

Global catalog servers’ summary:

Here the most important point with active directory is that the domain controllers, which are not global catalog servers, cannot find universal groups in other domains.  They have to contact a global catalog server otherwise the domain controller cannot proceed with the logon request. This is done for security purposes.  You can also plan for extra global catalog servers.  However, if there is only one domain, you do not require any more Global Catalog servers.

Global catalog is basically a data repository. Now, you know all about the global catalog servers. How to find a global catalog server is not a difficult work for you now. You just need a few steps that can help you to find a global catalog server.

Related Tags: cannnot find any global catalog in forest 2010, ldap check which port 3268, ldap global catalog not found, make the domain controller listen to a non gc port, port 3268 in listening mode, port 3268 not listing, problem contacting a global catalog server, query gc logon server

How to Design a Catalog

A catalog is a collection of products that you group into categories. You can now use this information to create web pages to help the customers to go through your products easily. The categories of the catalogs also have sub-categories. Catalog business is a good idea for starters. You just need to have a clear understanding about the catalog design process. If you are looking for how to design a catalog, this paper is for you.

It is a good idea to go for a product catalog when you want to expand your customer base. A catalog can reach the customers who never come in your store. Here are some steps that can help you transform your catalog in an interesting way.

Gather content:

First of all, you need to have all the ingredients in place before beginning any design steps.

Product Images:

You can also hire a professional photographer. The photographs of your product are very important aspects of the catalog. This is because the customers are going to see the photographs first. An appealing image can be the pushing force for the customers to read the description. Eventually, they can make a purchase. If you can take the pictures yourself and own a digital camera, you have to set the camera on the highest resolution. Always follow the product picture protocol. Try to use individual and not the group pictures of products on a light background.

Product Features:

Try to know all the technical details of every product. This will help to write the description of your product easily. Also decide on the item numbers and prices that include the original and discount prices. You may also want to specify any benefits of your products.

Create a Mock-up:

Many people may skip this step, but it is a very important step in the process, as it will prevent you from wasting time on redoing and re-planning page layouts.

Size:

You have to make a decision on the size you need for your catalog when it’s closed. Also, remember that there is shipping costs and the number of products also matter.

Page amount:

Then you need to choose the number of pages for your catalog. You have to include the table of contents, the products you can include in an entire page, and extra information pages, like the company history. Try to limit the page count to 4 page increments since most printing companies  print 4 pages on an full sheet of paper i.e. 2 on the front and 2 on the back.

Organize:

Now, you have to plan which information you want to add on each page. Try to place similar products together.

Write Content:

Try to use short and easy- to- read sentences and paragraphs while copywriting. You should also avoid the use of unnecessary technical language.

Product descriptions:

You should write short descriptions. The descriptions can range between 50-150 words. You also want to include the features of product, but try to include benefits into each feature. And also focus on the core benefit. For example, the key feature of those batting gloves is that they have a more stable hold on the bat, but most importantly, customers can get a discount of 20% for a limited time (core benefit).

You should provide some powerful filler. When you want to reach a 4 page increment, you may need filler pages. Allow these fillers to promote the aim of your catalog i.e. selling products. You can include the history of your company. This can help the customers to be more comfortable buying your products. Customers’ testimonials and guarantees can also be a compelling force to buy a product.

Have an impressive cover:

The cover is a very important part of the catalog. The cover can make or break the catalog’s success. Your cover must catch the attention of the customer.  If it does not capture the attention, the customer might not even open it. The feature items, discounts, and stunning images can boost a consumer to browse through the pages. If you are going for seasonal catalogs, choose a theme that matches the time of year or any holiday.

Design an Order Form:

To create an order form can be a little difficult for many. You need to keep in mind that a customer may leave the idea of buying some of your products only because the form is very confusing to fill. Including a customer service number can help the customers to fill the form easily, if they get stuck. A punched form that you address can make mailing the order easier for customers. Also remember the necessary things like quantity option and both shipping and billing address options.

Print the Catalog:

If the catalog is of 4 pages, you can make a choice to print at your own. However, a professional will be beneficial as he takes less time and ensures quality results. Also, a commercial printing firm will take into account that the page implementation or page order and outer pages should come shorter than the inner pages at the time of fold. A printer can also come handy when you are printing your catalogs. Some printing companies also give mailing services for your convenience. You can go for a printer that comes with reasonable prices and professional quality.

There are many other factors you can consider while making your catalogs. They are different from postcards and brochures as you can consider them as better reference materials than the former mentioned marketing media.

The catalog making is an interesting profession and it is a very good way to start a business. The risks of the losses are very few than other businesses. This business can help you to reach towa rds your dream. Now, you know enough about the catalogs and catalog design. How to design a catalog is not a difficult task for you now. You just needa little decision-making and proper panning to start into the business of making catalogs.

Related Tags: how to design a catalog, how to design a catalogue
Posted in Default. Tags: . No Comments »

How to Stop a Catalog

Many times it happens that you don’t buy cookies but still some famous stores send you a catalog. You don’t smoke, but the smoke shop catalog is mailed to your mailbox. You never get the idea why you get the sport’s catalog when you do not have any interest in sports. How to stop a catalog when you do not want them! There can be many reasons for such a thought. You may want to do this to save the environment or you just do not want to look at your weekly catalog junk mail. You can easily stop junk catalogs that reach your mailbox somehow.

There are many techniques to stop catalog junk mail. You do not require any money to remove it from a mailing list for a mail catalog. However, a little time can take to stop the mailings. This is because the catalog mailing labels may be pre-printed in advance. With a little time, you can stop that catalog junk mail from reaching to your mailbox.

Things you’ll need:

Internet access

Phone

Marker

How to stop catalog:

You need to check the mailing label of a junk catalog in the mail. Some catalogs include a company toll-free number with the mailing label area. You can call the company to get removed from its mailing list. When you see these numbers, just call it and request them to take off the catalog mailing list.

You can also visit some dedicated websites to know about this free service that can surely help you reduce large number of catalogs that arrive in the mail. Now, click “How it Works” tab. It is somewhere at the top of the page where you get to know everything about the service. Click the “Create Your Account” button to start the process of shutting down your unwanted catalogs.

Fill all the fields in the form that come on the next screen. After this, you have to enter the mailing address where you are receiving the catalogs. You now require entering your email address and creating a password. You have the option to select whether you want to receive emails from the service or notifications acknowledging your requests to stop receiving catalogs. You have to click “Sign Up” when you finish filling up the form.

Now you have to activate your account by clicking on the link of the email from catalog choice.

Click on the “Find Catalogs” button that is in the center of the next page to browse through the players who participate in this service. Click the “Browse” tab for going through alphabetical list of merchants. When you see the name of the catalog merchant that you want to stop receiving, hit the button to set your mail preference.

Opt for the “No Catalogs” tab on the next page to validate your correct mailing address. Enter the customer number or key code from an existing catalog. Even if it is not available, you can leave the field empty.  Click the “Submit” tab. Click the “Find More Catalogs” tab to include any other additional mailing preferences.

Click on “Suggest a Catalog” tab if you are not able to find a catalog that you want to stop receiving. Write the title of the catalog and click “Send Suggestion.”

Click the “My Choices” tab when you are done adding all your mailing preferences. Check all the entered catalogs to make sure that all the catalogs that you want to stop receiving are there.

Click the “Dashboard” tab to look out for the list of merchants that send email news instead of catalogs. Choose the merchants from whom you would like to receive email news by clicking on the merchant name. You can subscribe to email mailings from the merchant by clicking the “Subscribe” button.

Tips & Warnings:

It can take a long time which can be up to 12 weeks to get the results of contacting catalog companies to get off their mailing lists.

The unwanted catalog can destroy your mood. You need to stop these catalogues before you end up with a heap of catalogs in your mail box. You should think that these catalogs might be helpful to someone else. So you should avoid wasting these catalogs. Now, know enough about the catalogs nuisance. How to stop a catalog is not a difficult thing for you now. You just have to reach a simple site and request for stop by following some simple steps.

Related Tags: steps to stop catalog mail, stopping Next catalogues
Posted in Default. Tags: . No Comments »

How to Allocate Memory in C

C is a middle level computer programming language that is developed in 1973 by Dennis Ritchie at the Bell Labs. C was initially designed for implementing system software but now it is also widely used to develop portable application software. C is one of the most talked about programming languages of all times. There are very less computer architectures for which a C compiler is not there. C is responsible for affecting many other popular programming languages, most notably C++.  The most important function of a programming language is to manage memory and the objects that you store in memory. If you also look out for how to allocate memory in C, you are surely at the right place. This paper helps you to know about pointers and memory allocations in C.

There are three distinct ways to allocate memory for objects in C:

Static memory allocation:

At compile time, the required space is allocated for the object in the binary. These objects will exist as long as the binary exists and these objects are loaded into memory.

Automatic memory allocation:

You can store the temporary objects on the stack. This space is then automatically emptied and reusable after the block in which they are declared is exited.

Dynamic memory allocation:

You can request the blocks of memory of arbitrary size at the run-time using library functions. The library functions can be malloc() and it is from a region of memory called the heap. These blocks remain until they get free.

All these three approaches can be appropriate depending upon different situations. For example, static memory allocation does not come with any allocation overhead. The automatic allocation may have a small amount of overhead, and dynamic memory allocation can have a larger overhead for both allocation and deallocation. On the other hand, stack space is limited and transient than either static memory. Dynamic memory allocation allows allocation of those objects for which size is known only at run-time. Most C programs take the advantage of all the three approaches.

Usually, automatic or static allocation is preferred because the compiler manages the storage issues. This removes any possibility of error of manually allocating and releasing storage for the programmer. However, different data structures can increase in size at runtime. Since, static allocations need to have a fixed size at compile-time; you can use dynamic allocation in such situations.

You can initialize automatically and dynamically allocated objects only if you have explicitly specified an initial value. Otherwise, they initially have indeterminate values. Whenever the program tries to access an uninitialized value, you cannot define the results. Many modern compilers try to detect this problem, but both false positives and false negatives occur.

Another issue is that you need to manually synchronize the heap memory allocation with its actual usage in any program. This helps to reuse it as much as possible. There can be two scenarios for the only pointer to a heap memory allocation. The one is that when it goes out of scope or its value overwritten before free() has been called, then you cannot recover the memory for later reuse. This memory is essentially lost to the program. This is a phenomenon known as a memory leak. On the contrary, it is also possible to release memory too soon and continue to access it. However, as the allocation system can re-allocate or can use the freed memory, unusual behavior may occur. Typically, the symptoms will be shown in a portion of the program than the actual error. This can make it difficult to track down the actual problem. You can find such issues that have automatic garbage collection.

You can easily allocate memory at run time using malloc(), calloc(), or other allocation functions. This approach lets you to postpone the decision on the size of the memory block need to store an array. This can happen until run time. It may also permit using a section of memory for the storage of an array of integers at one point in time. The memory that you no longer need, can be emptied for other uses such as the storage of an array of structures.

When you allocate the memory, the allocating function like malloc(), calloc(), etc. replies with a pointer. This pointer depends on the type of compiler you are using. It can be an older K&R compiler or the ANSI compiler. The older compiler returns the pointer of char data type, whereas the ANSI compiler returns void.

If you use an older compiler and you are looking to allocate memory for an array of integers, you need to cast the char pointer returned to an integer pointer. For example, if you want to allocate space for 10 integers, you might write like:

int *ipt;

ipt = (int *)malloc(10 * sizeof(int));

if (ipt == NULL)

{ERROR ROUTINE GOES HERE}

With an ANSI compliant compiler, malloc() returns a void pointer. As you can assign variable of any object type to the void pointer, you do not require any (int *) cast as shown above. You can determine the array dimension at run time and it is also not needed at compile time. You can read the 10 above as a variable from a data file or keyboard, or calculated based on some need at the run time.

As there is some sort of equivalence between array and pointer notation, once ipt has been assigned as above, you can use the array notation. For example, you could write:

int k;

for (k = 0; k < 10; k++)

ipt[k] = 2;

to set the values of every element to 2.

Even if you have a reasonably good understanding of pointers and arrays, you can stumble at first in the dynamic allocation of multi-dimensional arrays. In general, you can access elements of such arrays using array notation, not pointer notation, wherever possible. You can easily allocate memory in C after reading this article. Now, I believe that you have enough information on how to allocate memory in C.

Related Tags: allocate memory in C, 49 where is memory for struct allocated, how to allocate memory, how to allocate memory in C, how to allocate memory in c beispiel compiel, issues in static allocation of compiler, static memory, static memory allocation for arrays in c

How to Allocate Bandwidth

In computer networking’s language, bandwidth is basically a bit rate measure of available or consumed data communication resources. It is expressed in bits/second or kilobits/s, megabits/s etc. Bandwidth is a critical resource. You need to know how to allocate bandwidth for its efficient use. Bandwidth may refer to digital communications, wireless communications, electronics, etc. Bandwidth is the analog signal bandwidth measured in hertz. Some authors also prefer to use terms such as bit rate, channel capacity and throughput rather than bandwidth in bit/s.

Bandwidth management also refers to allocation of the bandwidth. It is a means of allocating bandwidth to critical applications. Without the allocation of bandwidth, an application can take control of all the available bandwidth. This can prevent other applications from accessing the network. As it is almost impossible to differentiate types of network traffic, so it is impossible to control, about which applications have the priority on the network. Most of the applications require a specific quantity and quality of service. This cannot be predicted in terms of the available bandwidth. It just results in some applications to run poorly if proper bandwidth is not allocated to them, whenever required.

The allocation can be done by sorting outbound network traffic into classes by application and service type. Data traffic now scheduled depending upon the minimum and maximum bandwidth configured for each traffic type.

How to allocate bandwidth on a Linksys router:

A Linksys router assigns an internet connection among all the computers on your network. This allows every machine to access the web and download files simultaneously. Connection sharing can result in the loss of speed if some computers are using much more bandwidth. It happens at the time of downloading large files. Any Linksys router allows allocating the bandwidth after which no single computer is able to take all the bandwidth available.

Instructions:

Navigate your browser to “http://192.168.1.1″ to open the Linksys router’s interface page. You need to write “Admin” in the “user name” field in the empty field.

Leave the “password” field empty if you haven’t changed the default password. Click “Log In.”

Navigate the “Applications & Gaming” tab that is at the top of the window. Now click on the “QoS” link in the menu that is under the “Applications & Gaming” heading.

Now, click the “Enable” radio button to turn the Quality of Service feature on. Click at the specific port or service you want to change like “Port 1″ to the computer connected to the Linksys router’s first port or “FTP” for the data transferred through an FTP service.

Click the “High Priority” button to give most bandwidth to that port or service. Choose “Medium Priority” or “Low Priority”, if you want to give less bandwidth to that port or service.

You can repeat this process with any other ports or services. Now there is a need to click “Save Settings” to save the bandwidth allocations.

Why Use Bandwidth Management?

Corporate networks that use intranets to share information and web navigation have a requirement for bandwidth.  If you add more connections or larger connections, it does not address the bandwidth issue because you cannot guarantee the availability. All the network links are shared by many users or applications, which mean that these users and applications share the same available bandwidth. Bandwidth management can stop traffic congestion on the network. You can also prevent temporary network congestion by using bandwidth management. When the network is congested for a long time, experts suggest the greater capacity link.

Sonic Wall Bandwidth Management:

Sonic wall internet security controls the bandwidth management. It helps network administrators to guarantee minimum bandwidth. They can now prioritize the data traffic based on the rules created in the access section of the sonic wall management interface. If you can control the amount of bandwidth to an application or user, you can prevent a small number of applications or users to consume all the available bandwidth.

Bandwidth Management Features & Benefits:

Traffic Type:

You can manage the data traffic according to the traffic type i.e. Telnet, FTP, HTTP, etc.

IP Address:

You can configure the network access rules to allocate bandwidth based on IP addresses.

VPN Allocation:

You can also manage the VPN traffic by enabling bandwidth management in the VPN configuration. Then specify the Guaranteed, Maximum, and priority of all VPN traffic through the sonic wall. You cannot configure bandwidth management for individual VPN security associations. You can configure it only for all VPN traffic.

Full control:

The network administrator takes full control of network traffic and he also prevents traffic congestion on the network.

Application management:

It prevents the applications and users from consuming all available bandwidth.

QoS policy driven:

You can implement quality of service (QoS) policies across the network allowing priority applications to run smoothly.

You never want your network feel unavailability of bandwidth. This can reduce the efficiency of the computers. You will receive the output in a longer time as the speed is less now. You need to allocate bandwidth based on the priority. I am quite sure that now you know a lot on how to allocate bandwidth.

Related Tags: how to dedicate bandwidth, how to allocate more bandwidth to skype, how to allocate more bandwidth to a computer, sonicwall bandwidth allocation, sonicwall prioritize skype, sonicwall bandwidth management, allocate more bandwidth to skype, bandwidth allocation in sonicwall
Posted in Default. Tags: . No Comments »

How to Allocate System Memory

The system memory stores the current programs and data in use. The term memory can refer to many different parts of a computer because computer uses different kinds of memory. When the computer itself uses the memory, it usually refers to the main system memory. If you look for how to allocate system memory, you are surely at the right place. This paper will provide you with all the details about system memory and its allocation. The system memory stores the instructions that the processor executes and the data that those instructions work with. The system memory is a critical part of the main processing subsystem of the computer, tied with the processor, cache, and motherboard.

Memory is very important for various aspects of your computer system:

Performance:

The amount and type of system memory is a very important contributing factor to the overall performance. It is even more important than the processor in many ways because low memory can make the processor to work at 50% or even more below its performance potential. The most important factor that is overlooked is the performance.

Software Support:

The new programs need more memory than the old programs. More memory can help you to give access to those programs that you cannot use with a lesser amount.

Reliability and Stability:

Bad memory can result into mysterious system problems. Make sure that you have high quality memory. It will result in a computer machine that runs smoothly and exhibits fewer problems. Also, sometimes even high quality memory will not work well if wrong kind of memory is used.

Upgradability:

Different types of memory are available. Some memories are even more universal than others are. A wiser choice is to transfer the memory to a future system or continue to use it after you upgrade your computer.

This section describes various aspects of the system memory like how the system memory works, the different types of technologies used and how operating systems and programs organize and use the memory in the computer. Error detection and correction requires greater attention as well as details on what type of memory is suitable in different types of computers.

Allocating System Space Memory:

To allocate I/O buffer space, the best memory allocation method to use is MmAllocateNonCachedMemory, MmAllocateContiguousMemorySpecifyCache, AllocateCommonBuffer (when the driver’s device uses DMA or a system DMA controller’s auto-initialize mode), or ExAllocatePoolWithTag.

Non paged pool try to become fragmented as the system runs, so a driver’s DriverEntry routine needs to call these routines to set up any long term I/O buffers the driver needs. All those routines, except ExAllocatePoolWithTag, assign memory that you align on a processor specific boundary. This you can determine by the processor’s data cache size to provide the best performance.

Drivers need to allocate I/O buffers as readily as possible, since the nonpaged pool memory is a limited system resource. In general, a driver has to avoid calling the support routines repeatedly to ask for allocations of less than PAGE_SIZE.

Allocating Driver Buffer Space Economically:

If you want to allocate I/O buffer memory economically, you have to keep in mind the following points:

Every call to MmAllocateNonCachedMemory or MmAllocateContiguousMemorySpecifyCache always gives a full multiple of the system’s page size of nonpaged system-space memory irrespective of the size of the requested allocation. Therefore, any request for less than a page is rounded up to a full page. If any remainder bytes on the page are wasted, then the driver who called the function is not able to access them.

Each call to AllocateCommonBuffer employs at least one adapter object map register. This register maps at least one byte and at most one page. If you want to know more about map registers and using common buffers, you can refer to adapter objects and DMA.

Allocating Memory with ExAllocatePoolWithTag:

Drivers can call ExAllocatePoolWithTag too. Therefore, specifying one of the following system-defined POOL_TYPE values for the PoolType parameter:

NonPagedPool for any objects or resources not saved in a device extension or controller extension that the driver can access while running at IRQL > APC_LEVEL

For this PoolType value, ExAllocatePoolWithTag assigns exactly the same amount of memory as requested if the given NumberOfBytes is less than or equal to PAGE_SIZE. Otherwise, you will waste any remainder bytes on the last-allocated page. These bytes are inaccessible to the caller and unusable by other kernel-mode code.

On an x86, an allocation request of 5K replies with two 4K pages. The caller will never receive the last 3K of the second page. You can avoid wasting nonpaged pool by allocating multiple pages efficiently. In this case, the driver could make two allocations of one PAGE_SIZE and the other for 1K. That can allocate a total of 5K.

PagedPool for memory that you can always access at IRQL <= APC_LEVEL and is not in the file system’s write path.

ExAllocatePoolWithTag always returns a null pointer if it is unable to allocate the requested number of bytes. Drivers need to check the returned pointer. If it returns null value, the DriverEntry routine should return STATUS_INSUFFICIENT_RESOURCES.

Graphics memory and system memory both share the memory of your computer. By default, any computer allocates 8 MB of the total memory to graphics. You can allocate 32 MB memory for graphics.

How to allocate system memory:

1. Restart your machine. When you see a startup screen, you need to press the F2 button. The BIOS Setup utility opens.

2. Click the Advanced tab and then select Shared memory.

3. Allocate the graphics memory size based upon the requirement and then click OK.

4. Now you have to exit the BIOS setup utility by clicking on the Exit button. Now, select Save and Exit.

5. Click OK.

You never want your computer to be low on system memory. This can reduce the efficiency and productivity of the computers. Output can take a longer time as the speed is less now. I believe that you have enough information on how to allocate system memory.

Related Tags: ExAllocatePoolWithTag example, mmallocatecontiguousmemoryspecifycache example, exallocatepoolwithtag, compare exallocatepoolwithtag mmallocatenoncachedmemory, MmAllocateNonCachedMemory, mmallocatecontiguousmemoryspecifycache, how to allocate system memory, how to allocate memory addresses for a particular program

How to Publish Your Own Book

Self-publishing is one of the smarter options for writers as it is cost-effective, fast, pays better than the standard contracts and lets an author have control over the publishing process. But there are a few drawbacks as well if you think of publishing your own book as one needs to be very learned and ready to face all the challenges coming your way. So how to publish your own book?

Here are a few instructions to be followed in order to self-publish your book:

  • Set your goal before hand. Some writers want to just print a few copies of their prized projects for close friends and colleagues whereas others want the book to be published on a large scale for a bigger audience.
  • Check for other competing titles in order to make sure that you are not covering the same topic. Check out sales of the related books to find if it is really worth writing on a similar topic. For more details, one can contact the book distributor Ingram at (615) 213-6803, and type in the ISBN of the book that you wish to check. You will hear a voice message that will contain information on the number of copies sold in the last year.
  • Decide on the format you would like to publish namely hardcover, softcover or e-book – an electronic file that does not require paper printing
  • Find for print-on-demand publishers, if you wish to get you books published without spending much. Print-on-demand is perfect to print just a few copies namely 25 to 500. The pages are printed using a high-end copier instead of the traditional ink-based offset printing equipment. The page layout program directly links to a high-speed copier. Once the pages are printed, it needs to be bound together. Some shops offer perfect bind, and it looks like a printed book.
  • In order to save on film costs and time, you can print your book directly from your completed files with the help of a directtopress printer. The files can be transferred directly to the printing plate instead of producing a different piece of the film for each color of each page.
  • If you are an established writer who is considering self publishing, check for all the options available and personally look into each of the steps that goes into publishing your book
  • Check samples of recently published books from potential suppliers. Check for the quality of the paper, cover design, layout and if it was run on a sheet-fed press or a web press. Get detailed information of how the individual pieces were produced.
  • Get yourself familiarized with the printing costs. This will differ but you can expect to spend more than $1 per book for printing a minimum of several thousand copies. You may also incur extra charges for layout help, editing, design of the book cover and for photos. Generally it is $3 to $6 for editing a page, $3 to $5 for production, $500 to $5,000 or more for design, plus an addition of $3 per book for printing a $300 page book.
  • You can also think of hiring a book designer to design the book. This could be expensive, but it would create a difference in creating quality products.
  • Request for an International Standard Book Number (ISBN), which is a standard code to identify your book. This can be done by visiting, isbn.org. The cost for 10 ISBNs is $150, with an addition of a minimum $75 processing fee.

Decide on strategies of distributing your book. You can either opt for in-house selling offered by print-on-demand companies or check with book stores if they wish to accept limited number of your books on consignments.

Related Tags: www how to create a printing web press
1 of 131234567813