Pages

Translate

Sunday, 22 July 2018

Solutions For Agricultural Problems In Pakistan:

  1. 1:     Feudalism should be abolished and lands should be allotted to poor farmers. This will enhance the productivity and per acre yield of all the crops in Pakistan. Taxes should be levied on Agricultural income but not without devising limit of land holding. Other wise it would directly effect poor farmers.
  2. 2:     Federal Seed Certification and Federal Seed Registration is approved but it should taken responsible steps in approving seeds as it has already approved 36 new kinds of seeds. Specially, those seeds should be banned which can create pest problem in near future. These seeds are of cotton mainly. International seed makers are providing those seeds which are not successful in our country as these seeds are not tested on our soil.
  3. 3:     A new Agricultural policy must be framed in which following steps should be focussed on.
  4.  4:    Small farmer must be focused. The major problems of small farmers should be solved first.
  5. 5:     Consumer friendly policy must be projected.
  6. 6:     Productivity enhancement programme must be constituted to adjust and support prices.
  7. 7:     Different Agricultural zones should be introduced. As Multan in famous for its Mangoes and citrus fruits so it must be made Mango, citrus zone by which Perishable products should be exported. This would enhance agro based industry and increase foreign reserves. Pakistan Agricultural storage & Services Corporation needs to take steps in this regard.
  8. 8:     Corporate farming like giving lands to Mitehels, Nestle and Multinational companies is also a good idea that will also help those who own a large area of fertile land but can’t manage it.
  9. 9:      Surplus vegetables and fruits must be exported. A Rs 39 million scheme has been approved for the current fiscal year for establishment of agro export processing zone for fruits, vegetables and flowers. This will also help in commercializing agriculture and farmers will be able to earn more revenue.
  10. 10:     Latest mechinery should be provided to the farmers to increase the per acre yield. This provision should be on easy installments so that the farmers can avoid the burden of loans. If possible subsidy should be given by the government of modern machinery.
  11. 11:     Modern techniques of irrigation can solve the problems of irrigation in Pakistan. This includes drip irrigation and sprinkle irrigation methods. By using this technique the farmers can save a huge some of money which he pays for irrigation through tubewells and tractors.
  12. 12:     More dams should be constructed on Indus, Jehlum and Chenab rivers. This will enhance the storage capacity of water and reduce the per acre cost of all the crops. This step will also reduce the salinity chances of the lands as less tubewell water will be flooded to the lands which cause salinity..

Tuesday, 26 June 2018

Dynamic algorithm selection for runtime concepts

Abstract

A key benefit of generic programming is its support for producing modules with clean separation. In particular, generic algorithms are written to work with a wide variety of types without requiring modifications to them. The Runtime concept idiom extends this support by allowing unmodified concrete types to behave in a runtime polymorphic manner. In this paper, we describe one implementation of the runtime concept idiom, in the domain of the C++ standard template library (STL). We complement the runtime concept idiom with an algorithm library that considers both type and concept information to maximize performance when selecting algorithm implementations. We present two implementations, one in ISO C++ and one using an experimental language extension. We use our implementations to describe and measure the performance of runtime-polymorphic analogs of several STL algorithms. The tests demonstrate the effects of different compile-time vs. run-time algorithm selection choices.

C++ lambda expressions and closures

Abstract

A style of programming that uses higher-order functions has become common in C++, following the introduction of the Standard Template Library (STL) into the standard library. In addition to their utility as arguments to STL algorithms, function parameters are useful as callbacks on GUI events, defining tasks to be executed in a thread, and so forth. C++’s mechanisms for defining functions or function objects are, however, rather verbose, and they often force the function’s definition to be placed far from its use. As a result, C++ frustrates programmers in taking full advantage of its own standard libraries. The effective use of modern C++ libraries calls for a concise mechanism for defining small one-off functions in the language, a need that can be fulfilled with lambda expressions.
This paper describes a design and implementation of language support for lambda expressions in C++. C++’s compilation model, where activation records are maintained in a stack, and the lack of automatic object lifetime management make safe lambda functions and closures challenging: if a closure outlives its scope of definition, references stored in a closure dangle. Our design is careful to balance between conciseness of syntax and explicit annotations to guarantee safety. The presented design is included in the draft specification of the forthcoming major revision of the ISO C++ standard, dubbed C++0x. In rewriting typical C++ programs to take advantage of lambda functions, we observed clear benefits, such as reduced code size and improved clarity.

The two paradigms of software development research

Abstract

The most profound conflict in software engineering is not between positivist and interpretivist research approaches or Agile and Heavyweight software development methods, but between the Rational and Empirical Design Paradigms. The Rational and Empirical Paradigms are disparate constellations of beliefs about how software is and should be created. The Rational Paradigm remains dominant in software engineering research, standards and curricula despite being contradicted by decades of empirical research. The Rational Paradigm views analysis, design and programming as separate activities despite empirical research showing that they are simultaneous and inextricably interconnected. The Rational Paradigm views developers as executing plans despite empirical research showing that plans are a weak resource for informing situated action. The Rational Paradigm views success in terms of the Project Triangle (scope, time, cost and quality) despite empirical researching showing that the Project Triangle omits critical dimensions of success. The Rational Paradigm assumes that analysts elicit requirements despite empirical research showing that analysts and stakeholders co-construct preferences. The Rational Paradigm views professionals as using software development methods despite empirical research showing that methods are rarely used, very rarely used as intended, and typically weak resources for informing situated action. This article therefore elucidates the Empirical Design Paradigm, an alternative view of software development more consistent with empirical evidence. Embracing the Empirical Paradigm is crucial for retaining scientific legitimacy, solving numerous practical problems and improving software engineering education.



Highlights

Software development research is divided into two incommensurable paradigms.
The Rational Paradigm emphasizes problem solving, planning and methods.
The Empirical Paradigm emphasizes problem framing, improvisation and practices.
The Empirical Paradigm is based on data and science; the Rational Paradigm is based on assumptions and opinions.
The Rational Paradigm undermines the credibility of the software engineering research community.

Java in the High Performance Computing arena: Research, practice and experience

Abstract

The rising interest in Java for High Performance Computing (HPC) is based on the appealing features of this language for programming multi-core cluster architectures, particularly the built-in networking and multithreading support, and the continuous increase in Java Virtual Machine (JVM) performance. However, its adoption in this area is being delayed by the lack of analysis of the existing programming options in Java for HPC and thorough and up-to-date evaluations of their performance, as well as the unawareness on current research projects in this field, whose solutions are needed in order to boost the embracement of Java in HPC.
This paper analyzes the current state of Java for HPC, both for shared and distributed memory programming, presents related research projects, and finally, evaluates the performance of current Java HPC solutions and research developments on two shared memory environments and two InfiniBand multi-core clusters. The main conclusions are that: (1) the significant interest in Java for HPC has led to the development of numerous projects, although usually quite modest, which may have prevented a higher development of Java in this field; (2) Java can achieve almost similar performance to natively compiled languages, both for sequential and parallel applications, being an alternative for HPC programming; (3) the recent advances in the efficient support of Java communications on shared memory and low-latency networks are bridging the gap between Java and natively compiled applications in HPC. Thus, the good prospects of Java in this area are attracting the attention of both industry and academia, which can take significant advantage of Java adoption in HPC.

Highlights

► Java is an emerging option for High Performance Computing on multi-core clusters. ► Java can achieve almost similar performance to natively compiled languages. ► Current state of Java for HPC, both for shared and distributed memory programming. ► Performance evaluation of Java message-passing and Java threads on multi-core clusters. ► Java is an alternative to HPC programming as it obtains comparable scalability results.

Saturday, 13 January 2018

Synthesis of Sentences

synthesis of sentences

" combination of two or more simple sentences into a single simple sentences is called synthesis , Synthesis is the opposite of analysis and simple the combination of a number of simple sentences into one new sentences, Simple, compound or complex.

Saturday, 6 January 2018

write a program that input two numbers from and find greatest common devisor.

                   \
                                                                   output

Write a program input any number and find factorial using function.



                                                                output

Wednesday, 20 December 2017

How to Make Money Selling Photos Online




1.             
Look at several different sites’ pay rates. Basic stock photo sites like Dreamstime, freedigitalphotos.net, and Shutterstock are popular choices for amateur photographers, while the pros often choose Getty Images or Corbis. Each of these sites has a different pay rate, but most sites offer at least 30% commission. Be sure to check each site’s commission rate before you sign up.[1]Often, the most popular sites pay the smallest commission. Whether or not you want to sell quickly for less money or wait longer for more money is up to you!



 

2


Check the site’s requirements and themes to avoid rejected images. Every site has its own requirements for download quality and its own focus on themes. Your images won't be accepted if you don't follow the site's specific requirements. Make sure your photos meet the requirements and fit the site's theme before you submit them.[2]
For example, Dreamstime requires a minimum of 3 megapixels for download size, and they also prefer business-oriented photos.



     

              3
Register for an account. Registration with the site that you choose is usually free. If the site isn't free, you may want to reconsider using them unless the fee is pretty cheap and a one-time payment. Be sure to read the site's instructions carefully, because there’s often important information about payment and copyright issues included.[3]

 4  

Review and complete the payment portion of your account. Most sites will pay you via Paypal, although a few sites may pay via check through the mail. You will need to provide the email address associated with your Paypal account, along with any additional information they require. If you don't have a Paypal account, set one up. When you're paid varies from site to site. Some only pay you when you request a cashout, and others pay on a specific day of the month.[4]
Make sure you are registering with a reputable site before giving them your account information and home addressing.
5
  
Consider registering for multiple sites. Registering for multiple sites can let you make more money, but be careful! If you sell an image on one site, you may have to remove it on all your other sites. Also, some sites will offer exclusive contracts that pay you more if you only sell your photos to them. Read all the fine print before registering to multiple sites![5]


             Part 2     choosing and posting your photos



1
            
Develop a diverse portfolio of digital images. If you only have 4 or 5 main subjects in your images, they will only appeal to a certain kind of customer. While you can still make money this way, it's better to have a diverse collection of images with many different subjects and tones. The more people your images appeal to, the more money you'll make.[6]

2

Choose generic images to make the most money. Generic images appeal to the largest audience, so these photos will sell more often than niche or unusual images. Go through your digital portfolio and pick out generic images with mass appeal. For example, images of flowers and landscapes work well.[7]
Single-subject shots, like a bookcase of old books, a windmill, or a wine bottle, also work well.
Anything business or office-oriented usually does well.
Generic tones also sell well on stock sites. For example, images that look vintage.
                              
3 

Select images that are high quality for the best results. Most stock sites have rules about resolution, size, file format, and so on. Make sure your images adhere to those rules so they won't be rejected. If the site you're using doesn't have set requirements, customers are much more likely to purchase high quality images with good resolution.
·         Use only your very best work. Choose images with crisp detail and balanced color.
·         For example, images that are blurry or high contrast wouldn't be appropriate choices.




4 

 Upload your photos to the stock site. Make sure your chosen images follow all of the site's rules and requirements, such as image size, resolution, file type, and so on. If your site lets you post images in specific categories, make sure your photos match the categories to increase sales.[8]

5

Tag your images with relevant tags to appear in site searches. When you upload your photos to websites, they’ll be among thousands of other pictures. Thinking of tags for each picture will help them come up first in searches. Pick multiple tags for each picture.[9]
For example, if you upload a picture of the beach, your tags might include words like “beach,” “fun,” “sunny day,” “sand,” “surfing,” or “tropical.”

6

Experiment with using a mix of generic tags and specific tags. Generic tags are the most popular ones because they're the most searched for. Using generic tags will get your photos in front of the most people. Specific tags can get your images in front of a different group of people. Use a mix of both, so people searching for something specific can find you, and so can people searching for general terms.
For example, if your beach picture is of a boardwalk in New Jersey, use generic tags like “beach,” “boardwalk," "ocean view" and so on.
Then include specific tags like “New Jersey,” “Asbury Park,” and “South Point Boardwalk.”












What is C and its working.




















C++

Introduction to C++
C is a programming language developed in the 1970's alongside the UNIX operating system.C provides a comprehensive set of features for handling a wide variety of applications, such as systems development and scientific computation.C++ is an “extension” of the C language, in that most C programs are also C++ programs.C++, as opposed to C, supports “object-oriented programming.

History of C++

In 1970s, at Bell laboratories , Dennis Ritchie and Brian Kerning desigensd c language. Most of c is a subset of C++. Standardized by ISO in 1998. C++98, C++03, C++11 and C++14. C++ was developed by Dr. Bjarne Stroustrup in 1985 at AT&T Bell Labs New Jerscy, USA. Initially called as “C with classes” but was change in C++. The idea comes from C statement operator +’.

Uses of c++

Game
GUI based application
Web browser
Data based
Operating system
M and E application 




Solutions For Agricultural Problems In Pakistan:

1:     Feudalism should be abolished and lands should be allotted to poor farmers. This will enhance the productivity and per acre yield of...