Pages

Wednesday, April 16, 2014

Browse the Web Faster on a Slow Internet Connection

Browse the Web faster: If userr current Internet speed is very slow and user are living in an area where broadband connections are still not available, here are some tips and tricks to help user get web pages faster on userr computer.

If userr current Internet speed is very slow and user are living in an area where broadband connections are still not available, here are some ideas to help user get web pages faster on userr computer. You may use the same tips to  improve userr web browsing experience on a sluggish USB modem.

Surf the Web Faster on Slow Internet

1. Turn off web images, the Adobe Flash plug-in, Java Applets and JavaScript from userr browser settings as these files are often the bulkiest elements of any web page.
2. Increase the size of userr browser cache. If the static parts of a site (like background graphics, CSS, etc) are stored in the local cache, userr browser can safely skip geting these files when user re-visit the site in future thus improving speed.
3. Sometimes the slow DNS server of userr ISP can be a bottleneck so switch to OpenDNS as it can resolve website URLs into IP addresses more quickly. If user aren’t too happy about OpenDNS redirecting userr Google queries, follow this simple hack.
4. Finch can serve a light-weight version of any website in real-time that is free of all bells and whistles. For instance, the New York Times homepage with all external resources can weigh more than a MB but Finch trims down the size by 90% so the site loads more quickly on a slow web connection.
5. Flinch (mentioned at #4) is good for reading regular websites but if user just need to check the latest articles published on userr favorite blogs, use BareSite. This service will automatically detect the associated feed of a website and render content quickly inside a minimalist interface.
6. The Google Transcoder service at google.com/gwt/n can split large web pages into smaller chunks that will get more quickly on userr computer (or mobile phone).
7. Monitor userr Internet speed to determine hours when user get the maximum get speed from the ISP. Maybe user can then change userr surfing schedule a bit and browse more during these "off peak" hours.
8. You can use a text browser like Lynx or Elinks for even faster browsing. It gets only the HTML version of web pages thus reducing the overall bandwidth required to render websites.
9. When searching for web pages on Google, user can click the "Cache" link to view the text version of a web page stored in the Google Cache. Alternatively, install this GM script as it adds a "cached text only" link near every "Cached" link on Google Search pages.
10. Move userr web activities offline as far as possible. You can send & receive emails, write blogs and even read feeds in an offline environment.
11.  You can interact with websites like Flickr, Google Docs, Slideshare, etc. using simple email messages. Uploading a new document to Google Docs via email would require less bandwidth than doing it in the browser because user are avoiding a trip to the Google Docs website.
12. Applying the same logic, user may also consider using tools like Web In Mail or Email The Web as they help user browse websites via email. Just put the URL of a page (e.g., cnn.com) in the subject field of userr email message and these services will send user the actual page in the reply.
13. Bookmarklets are like shortcuts to userr favorite web services. You neither have to open the Gmail Inbox for composing a new email message nor do user have to visit Google Translate for translating a paragraph of text. Add relevant bookmarklets to userr browser bar and reduce the number of steps required to accomplish a task.
14. Use the netstat command to determine processes, other than web browsers, that may be secretly connecting to Internet in the background. Some of these processes could be consuming precious bandwidth but user can block them using the Firewall.
15. Use URL Snooper to determine non-essential host names that a website is trying to connect while geting a web page. You may block them in future via the hosts file or use Adblock Plus to filter out advertising banners on web pages.
16. If user don’t want to spoil userr web surfing experience by stripping images and other graphic elements from  a web page, get Opera Turbo. It will first fetch the requested web page on to its own server and then send it to userr machine in a compressed format. Opera Turbo won’t change the lausert of a web site but can lower the image resolution so that they load faster on slow Internet.
17. Change the user agent of userr desktop browser to that of a mobile phone like Apple’s iPhone or Windows Mobile. This will help user browse certain web sites like Google News, WSJ, etc. much faster because they’ll serve user a light-weight and less cluttered mobile version of their sites thinking user’re on a mobile phone.
Read More..

Tuesday, April 15, 2014

Sony Ericsson Aino review I know fun Touch user interface


Touch and non-touch media dont really mix that well

The Sony Ericsson Aino is a media-centric slider, which doesnt differ much from high-end Sony Ericsson feature phones. But its also a touchscreen device and gives users the extra option of handling media by touch. Keeping options open is always welcome and yes, we did think at first, that touch could be a nice bonus. Touchscreen is king on todays market but youll never hear us say the Aino wouldve been better off if it was a full-touch device. But to be perfectly honest, touch couldve been better implemented.
And before we start the tour, let us warn you about one of the biggest faults of the Touch Media application - the abysmal refresh rates. Every time you swap memory cards, the Ainos Touch Media will take about ten minutes to update its library. This isnt the case at all in the non-touch Media Center. And things get even uglier: without a memory card inserted it still takes 10 minutes to refresh the inbuilt memory, which isnt nearly as big.
But before we get to our UI description, you may want to check our demo video.

The new media menu is accessible only when the keypad is closed. It consists of five icons - camera, gallery, music, video and FM radio. There is no back button in the media menu. If you want to go back in the menus, you must touch on a blank spot on the screen. Its an obvious attempt of Sony Ericsson to keep the styling of icons and menus consistent across their product range - from phones to gaming consoles.
Sony Ericsson Aino
The new media menu
The camera icon throws you directly into the viewfinder. The gallery gives you access to all the images on the handset: albums are displayed by default in timeline view. Thanks to the capacitive screen, browsing thumbs is very smooth and fast. Tapping on any of the thumbs will open the selected picture full screen. Scrolling full-screen images with finger sweeps is very fluid too. Still, the touch gallery is nothing revolutionary. Theres no kinetic scrolling and multi-touch support - even if its a capacitive screen.
There are four available options in full screen view - send, edit, zoom and delete. Zooming is nicely done by a dedicated virtual zoom bar at the bottom of the screen, but its really slow.
Sony Ericsson Aino Sony Ericsson Aino Sony Ericsson Aino Sony Ericsson Aino
The image gallery • Viewing a picture • Zooming
The music section has one sub-menu with four buttons - Resume, Newly Added, Albums and Playlists. As you may have guessed - the last two have their own sub-menus in turn, with album icons or various playlists.
Sony Ericsson Aino Sony Ericsson Aino
The music menu • Album menu
The video section has similar layout as the music department - the available options here are Resume, Newly Added, Videos and Camera album.
Sony Ericsson Aino
The video menu
The touch audio and video players look almost the same. There are three standard control buttons - previous, next and play/pause. The video player has also send and delete as additional options.
Sony Ericsson Aino Sony Ericsson Aino
Selecting a song from an album • the music player
Sony Ericsson Aino Sony Ericsson Aino
The touch video player
While the music player is running and the screen is locked an indicating red line appears at the bottom. If you touch there, the media controls will appear for a while, which is quite handy.
Sony Ericsson Aino Sony Ericsson Aino
The red line at the bottom • The palyer controls on the locked screen
The FM radio has new touch optimized user interface and looks very good. Frankly, it may well be the best UI among mobile FM receivers.
There is an interesting thing to note about the FM receiver. Its embedded directly into the Bluetooth handsfree, not in the handset itself. This is quite handy, as you dont need anything plugged into the phone.
Sony Ericsson Aino
The FM radio
Read More..

Monday, April 14, 2014

Information About Business Telephone Systems

By Gwen Lowe


Establishing an enterprise and getting it make profit is always very demanding. Many people with great ideas many not have the funds to start such venture, while those with finances may not have the creativity to run such ventures to success. This makes it important to consider possibilities of a venture being successful before settling for an option. When searching for business telephone systems, Vancouver, BC sellers provide great solutions.

It is always a wise undertaking to consider adopting systems that are not only cost effective, but also efficient in the realization of positive results. Besides, establishment of Internet connectivity and telephone lines, associated installation costs are quite affordable. Use of existing lines may save business a lot of money thus only having to spend on the new equipment.

The month-to-month fee is something which all organizations need to think about before settling for any supplier. Customers would generally prefer not to buy supplies which will not add any value to the operations of their businesses. This means that buyers will only need to purchase bundles which will profit them.

Various companies offer varied solutions to clients; ranging from cheap to expensive equipment. The good news is that every business is catered for as the sellers have specific bundles which come in handy to small, medium and large businesses. Nonetheless, on top of the basic bundles, an association may add more functionality by buying additional features.

Buying equipment from these companies will always cost a one time fee followed by subsequent subscriptions as agreed between the companies and the clients. Most companies charge a maximum of 50 dollars subscription fees. The fundamental bundle incorporates things that are exceptionally vital to the clients. There are additional offers and ad-don features that can be bought at discounted prices to make the services better.

Customers have a tendency to concentrate on minimizing costs and not planning on better ways of making their businesses better. Even though one may cut on costs, there are investments that must be exempted from this. Most companies empower their clients by offering them great discounts to enable them upgrade their equipment and even get themselves new gadgets.

Planning is important factor to consider when opting to buy a new system. An entrepreneur must first evaluate the number of users who will handle the equipment, financial status of the business, and intended purpose. When a client adopts efficient systems, clients are also satisfied leading to better customer care services and profits.

New organizations need to think about efficiency and quality of goods and services they offer before concentrating too much on cutting costs. The gadgets are provided by established companies that provide great discounts to enable buyers upgrade their businesses. Established businesses offer reliable services and even greater discounts to upcoming businesses. It is not difficult to begin, along these lines, an organization must reach a point where they have enough to secure themselves better equipment.




About the Author:



Read More..

Cell Phone Number Search Trace Confidential Details Safe

By Nettie Sideris


There are various reasons individuals may want to find cell phone numbers. An usual reason is to stop the harassment of a persistent marketer, previous boyfriend or ex-girlfriend. With the development of mobile advertising over the current couple of years, SMS, voice call and MMS marketing have actually ended up being very popular.

Numerous marketers turn to among these sorts of marketing to gain clients for their business. You might have experienced telemarketing calls or SMS sent to your mobile device. It can be quite irritating when some sales personnel do not appear to know the difference between regular sales calls and harassing calls. They take it too far by calling potential customers even throughout working hours, even after being informed not to do so. Those who wish to concentrate on work and feel harassed by such dogged online marketers could wish to put a complete stop to the calls.

If the online marketer did not disclose his real name or various other information, the best method to learn is using a cellular phone directory site service. When it concerns searching for a repaired line callers name, phone number and various other details, you can make use of the white page directory site, which is generally download. However that is not the case for searching for a cell number. If you were to browse the Internet, you might discover websites claiming to offer a download directory site search of cell numbers. But, they are most likely nothing but frauds.

If you were to follow their guidelines, you could end up with a malware or a virus on your computer system. Some companies market like that simply to lead you to their internet sites, which offer other services. If you were fortunate enough to find an authentic but download website, then, you could discover that the information, which is offered to you is either very restricted or virtually nothing much. Some organizations advertise as a complimentary mobile phone lookup service but once you enter the cell number, you will be informed to pay a particular amount of money.

You can easily verify the authenticity of an internet site that declares to offer such a cost-download service. Simply request for a download initial check of the number you want to look up. If the company refuses you, then, it is most likely a rip-off or not genuine. Most of the legit cellular phone directory site internet sites permit their potential consumers to carry out complimentary initial checks of cell numbers. At times, getting something without paying a single cent might not be advisable.

In such cases or to inspect a missed call, there are particular download sites for cell phone number search, where you can have all the details including the missed out on require cost-download. While you put the browsed number on such websites, a message will go directly to the voice mail of the phone number responding to the name of the individual whose cell number it is. During the whole procedure your name and details will remain confidential. Thus, your personal privacy will also be protected.

In addition, the business have to invest some cash not only to keep however likewise to update their big database appropriately. Apart from not needing to fret about the personal privacy of your search, you can also get all the pertinent details you require. Typically, the company will release a record which will be sent out to your preferred email address. The name of the caller completely, the address in full and other telephone number, which are associated with the telephone number he utilized and even his date of birth, will be in the report. If you were to call up the online marketer and disclose the information about him, he would most probably stop calling you completely.

In short, if you want to find cell phone numbers, pick a website that offers a paid search. Aside from getting a full report with all the required details related to the cell number, you do not have to worry about any privacy problem in relation to your search. Generally, you will be asked to pay a few dollars, perhaps as much as $10 per search.




About the Author:



Read More..

Sunday, April 13, 2014

Features Great Project Management Software For Construction Should Have

By Marissa Velazquez


Project management software for construction is capable of aiding your organization to come up with accurate resource estimates, easier managing, organizing and planning of resource pools. The complexity of the application can help you manage plans and estimates, control costs, schedule and improve decision-making. Listed below are some features that any such application should present before you deploy it in your firm.

Since time is money in the construction industry, your application should be able to accelerate the process of managing your projects. This means that it should have the capability to offer up-to-date information that should make the decision-making process faster and more accurate. A great system should be a one-stop repository for all schedule changes, clarifications, responses, RFI statuses, photos, changed orders and documents.

The system you wish to use should also be easy to use and learn. Getting your entire team using the application is critical for a successful collaboration. This can be made much easier when using a simple easy to use app that comes along with a knowledge base of how to articles and tutorial videos.

No application is complete without an extensive customer support system that should be easy to locate. Ideally, support should be available no matter the time of day or night and ought to include online tutorial videos that are accessible on any type of mobile web-enabled devices. The support structure should also include emails, live chats as well as telephone support when required.

For a system that is web based, it is crucial to ensure that it comes along with a strict access agreement that will allow several members of your team access to it. This should be made possible for as many team members as possible without the need of having you invest more money or time. When all team members are familiar with the system, you will definitely see a remarkable increase in the level of efficiency in your firm.

Data disasters can be found in several forms as either hardware failure (disk or server failure), software failure (application or database failure) or man-made or natural disasters (like tornadoes or earthquakes). For each of these disasters, your application should have a zero tolerance by preventing against any type of downtime. The systems primary objective should be to provide 99.99% up time with few interruptions.

Not only should the project be accessible through the standard computers, but should also support mobile platforms like smartphones and iPads. Such a feature will make the running of daily tasks a breeze and improve the way information is shared between team members. Such a move will also allow the managerial team gets updated information at any time and from anywhere.

Project management software for construction can be a crucial tool when used in an effective manner otherwise it is likely to generate a mountain of information that does not offer an insight into the issues that need addressing. The best system should illuminate the cracks in a process. Therefore, it should contain the features listed above for data integrity.




About the Author:



Read More..

Saturday, April 12, 2014

Algebra of Matrices 2D Arrays Part II

As you know from the previous article, matrices are 2D arrays. In the previous
article, we saw how two matrices are added and subtracted. In this article,
we will continue our discussion on algebra of two matrices by discussing how
two matrices are multiplied.


Multiplication of two Matrices


Multiplication of two matrices mat1[a x b] and mat2[p x q] is only valid if
b=p. While there are many algorithms by which two matrices can be multiplied,
here I’ll give you the most simple algorithm. Others are used when efficiency
matters.


Algorithm for Multiplication of two Matrices


Suppose,




  • Two 2D arrays to be mat1 [p][p] and mat2 [p][p] having same number of rows
    and columns.




  • A third 2D array, mul [p][p] to store the result.




Here is the algorithm:


  1. FOR I = 0 TO (p-1)


  2. FOR J = 0 TO (p-1)
    mul [I][J] = 0
    FOR K = 0 TO (p-1)
    mul [I][J] += (mat1 [I][K] * mat2 [K][J])


  3. END OF INNER LOOP


  4. END OF OUTER LOOP



Below is a example program which illustrates the multiplication of two matrices
by this algorithm:


  // Example program in C++
// It shows you how to
// multiply two matrices
#include<iostream.h>

void main(void)
{
int i,j,k;
// this constant determines
// the number of rows and columns
const int max=3;

int mat1[max][max];
int mat2[max][max];
int mul[max][max];

cout<<"enter elements for mat1:";
for(i=0;i<=(max-1);i++)
for(j=0;j<=(max-1);j++)
cin>>mat1[i][j];

cout<<"enter elements for mat2:";
for(i=0;i<=(max-1);i++)
for(j=0;j<=(max-1);j++)
cin>>mat2[i][j];

// multiplication of two matrices
// is done here
for(i=0;i<=(max-1);i++)
for(j=0;j<=(max-1);j++)
{
mul[i][j]=0;
for(k=0;k<=(max-1);k++)
mul[i][j]+=mat1[i][k]*mat2[k][j];
}
// till here

// show the contents of the array
// after formatting
for(i=0;i<=(max-1);i++)
{
for(j=0;j<=(max-1);j++)
cout<<mul[i][j]<<" ";
cout<<endl;
}
}

Good-Bye!


Related Articles:


Read More..

Friday, April 11, 2014

Bob Jain Credit Suisse Majors For Investment Banking

By Rob Sutter


If your interest seems to be targeted at working with Bob Jain Credit Suisse, there are a number of points to keep in mind. One of the most important, in my opinion, has to do with education and I do not think that anyone can argue with how much of an impact a college degree can have. However, there are particular majors that seem to work better than most. This is why I feel as though it is important to make note of the matter before entering the vast working world.

Finance is perhaps the best choice if you want to become involved with Bob Jain Credit Suisse but I feel as though there is more than the matters which are related to mathematics. Yes, you are going to have to be able to perform calculations on a consistent basis but I cannot help but feel as though banking, in general, can be rooted in ones demeanor. As names like Jain can tell you, those who work in the field of banking will be more outgoing than others. They have to engage others in order to conduct business.

Another reason why finance may be for the best is because of how many job opportunities there seems to be. You can make the argument that finance - seeing as how its more based on the idea of making money - is perhaps too narrow but I feel as though this works in its favor. With banking, there is room to move up, as long as individuals are willing to pick up on as much information as possible along the way. Its clear that the effort that goes into earning a finance degree will be worth it.

If you go about earning a finance degree later on in life, you may be pleased to know that the job opportunities spoken about before can yield tremendous levels of pay. Banking is no different, as it seems as though the positions offered can help anyone from a financial standpoint. This is also supported by the fact that technology, in general, is going to improve over the course of time. Hardware and software will be put to use and they will go on to become better, so a versatile workforce is all but required.

Finance is the kind of degree that can work in not only banking but other job positions in the world as well. However, there is an added level of socialization that occurs within Bob Jain Credit Suisse, which is fortunate for those who pride themselves on being as approachable as possible. In addition, keep in mind that every client has a particular set of goals that they wish to attain. With this in mind, this company in question can produce perhaps some of the greatest rewards.




About the Author:



Read More..

MENU DRIVEN ENVIRONMENT IN C


Creating menu driven environment in C 
#include <curses.h>
#include <stdlib.h>
#define ENTER 10
#define ESCAPE 27
void init_curses()
{
        initscr();
        start_color();
        init_pair(1,COLOR_WHITE,COLOR_BLUE);
        init_pair(2,COLOR_RED,COLOR_GREEN);
        init_pair(3,COLOR_RED,COLOR_WHITE);
init_pair(4,COLOR_BLUE,COLOR_YELLOW);
init_pair(5,COLOR_BLUE,COLOR_CYAN);
curs_set(0);
        noecho();
        keypad(stdscr,TRUE);
}
void draw_menubar(WINDOW *menubar)
{
        wbkgd(menubar,COLOR_PAIR(5));
        waddstr(menubar,"File");
        wattron(menubar,COLOR_PAIR(3));
        waddstr(menubar,"(F1)");
        wattroff(menubar,COLOR_PAIR(3));
        wmove(menubar,0,10);
        waddstr(menubar,"Edit");
        wattron(menubar,COLOR_PAIR(3));
        waddstr(menubar,"(F2)");
wmove(menubar,0,20);
        wattroff(menubar,COLOR_PAIR(3));
waddstr(menubar,"Search");
wattron(menubar,COLOR_PAIR(3));
waddstr(menubar,"(F3)");
wmove(menubar,0,31);
wattroff(menubar,COLOR_PAIR(3));
        waddstr(menubar,"Cursor ");
wattron(menubar,COLOR_PAIR(3));
waddstr(menubar,"(F4)");
wmove(menubar,0,43);
wattroff(menubar,COLOR_PAIR(3));
waddstr(menubar,"Compile");
wattron(menubar,COLOR_PAIR(3));
waddstr(menubar,"(F5)");
        wattroff(menubar,COLOR_PAIR(3));
wmove(menubar,0,56);
waddstr(menubar,"Help");
wattron(menubar,COLOR_PAIR(3));
waddstr(menubar,"(F6)");
        wattroff(menubar,COLOR_PAIR(3));
wmove(menubar,0,66);
waddstr(menubar,"Exit");
wattron(menubar,COLOR_PAIR(3));
waddstr(menubar,"(F7)");

}
WINDOW **draw_menu(int start_col)
{
        int i;
        WINDOW **items;
        items=(WINDOW **)malloc(9*sizeof(WINDOW *));
items[0]=newwin(6,19,1,start_col);
        wbkgd(items[0],COLOR_PAIR(2));
    //    box(items[0],ACS_VLINE,ACS_HLINE);
       //wprintw(items[1],"new");

items[1]=subwin(items[0],1,17,2,start_col+1);
        items[2]=subwin(items[0],1,17,3,start_col+1);
        items[3]=subwin(items[0],1,17,4,start_col+1);
        items[4]=subwin(items[0],1,17,5,start_col+1);
        items[5]=subwin(items[0],1,17,6,start_col+1);
        items[6]=subwin(items[0],1,17,7,start_col+1);
    ///  items[7]=subwin(items[0],1,17,8,start_col+1);
    //    items[8]=subwin(items[0],1,17,9,start_col+1);
///        for (i=1;i<9;i++)

       wprintw(items[1],"Load",i);
wprintw(items[2],"New",i);
wprintw(items[3],"Save");
wprintw(items[4],"Save as");
wprintw(items[5],"Printer");
     /// wprintw(items[],"FILE%d",i);
     /// wprintw(item[1],"File%d",i);
   //     wbkgd(items[1],COLOR_PAIR(1));
        wrefresh(items[0]);
        return items;
}
WINDOW **draw_menu2(int start_col)
{
int i;
WINDOW **items;
items=(WINDOW**) malloc(9*sizeof(WINDOW*));
items[0]=newwin(5,19,1,start_col);
wbkgd(items[0],COLOR_PAIR(2));

items[1]=subwin(items[0],1,17,2,start_col+1);
items[2]=subwin(items[0],1,17,3,start_col+1);
items[3]=subwin(items[0],1,17,4,start_col+1);
items[4]=subwin(items[0],1,17,5,start_col+1);
items[5]=subwin(items[0],1,17,6,start_col+1);
items[6]=subwin(items[0],1,17,7,start_col+1);

wprintw(items[1],"Find");
wprintw(items[2],"Find and replace");
wprintw(items[3],"Repeat last find");
wprintw(items[4],"Goto line number");
wrefresh(items[0]);
return items;
}


WINDOW **draw_menu1(int start_col)
{

int i;
WINDOW **items;
       items=(WINDOW**) malloc(9*sizeof(WINDOW*));
       items[0]=newwin(6,19,1,start_col);
       wbkgd(items[0],COLOR_PAIR(2));

        items[1]=subwin(items[0],1,17,2,start_col+1);
items[2]=subwin(items[0],1,17,3,start_col+1);
items[3]=subwin(items[0],1,17,4,start_col+1);
items[4]=subwin(items[0],1,17,5,start_col+1);
        items[5]=subwin(items[0],1,17,6,start_col+1);
        items[6]=subwin(items[0],1,17,7,start_col+1);

wprintw(items[1],"Undo");
        wprintw(items[2],"Cut");
wprintw(items[3],"Copy");
        wprintw(items[4],"Paste");
      wprintw(items[5],"Delete");
         wrefresh(items[0]);
return items;
}

WINDOW **draw_menu4(int start_col)
 {
       int i;
       WINDOW **items;
       items=(WINDOW**) malloc(9*sizeof(WINDOW*));
       items[0]=newwin(5,19,1,start_col);
       wbkgd(items[0],COLOR_PAIR(2));

        items[1]=subwin(items[0],1,17,2,start_col+1);
        items[2]=subwin(items[0],1,17,2,start_col+1);
        items[3]=subwin(items[0],1,17,4,start_col+1);
items[4]=subwin(items[0],1,17,4,start_col+1);
       // items[5]=subwin(items[0],1,17,4,start_col+1);
// items[6]=subwin(items[0],1,17,4,start_col+1);
wprintw(items[2],"C Compiler");
wprintw(items[4],"C++ Compiler");
wrefresh(items[0]);

return items;
 }


WINDOW **draw_menu5(int start_col)
{
int i;
WINDOW **items;
        items=(WINDOW**) malloc(9*sizeof(WINDOW*));
        items[0]=newwin(4,19,1,start_col);
        wbkgd(items[0],COLOR_PAIR(2));


        items[1]=subwin(items[0],1,17,2,start_col+1);
        items[2]=subwin(items[0],1,17,2,start_col+1);
        items[3]=subwin(items[0],1,17,2,start_col+1);
        items[4]=subwin(items[0],1,17,4,start_col+1);
// items[5]=subwin(items[0],1,17,4,start_col+1);
 //       items[6]=subwin(items[0],1,17,4,start_col+1);

wprintw(items[2],"Key words");
// wprintw(items[4]," perator");
wprintw(items[4],"Operator");
       // wprintw(items[6],"Help");
wrefresh(items[0]);

return items;

}

void delete_menu(WINDOW **items,int count)
{
        int i;
        for (i=0;i<count;i++)
                delwin(items[i]);
        free(items);
}
int scroll_menu(WINDOW **items,int count,int menu_start_col)
{
        int key;
        int selected=0;
        while (1) {
                key=getch();
                if (key==KEY_DOWN || key==KEY_UP) {
                        wbkgd(items[selected+1],COLOR_PAIR(2));
                        wnoutrefresh(items[selected+1]);
                        if (key==KEY_DOWN) {
                                selected=(selected+1) % count;
                        } else {
                                selected=(selected+count-1) % count;
                        }
                        wbkgd(items[selected+1],COLOR_PAIR(1));
                        wnoutrefresh(items[selected+1]);
                        doupdate();
                } else if (key==KEY_LEFT || key==KEY_RIGHT) {
                        delete_menu(items,count+1);
                        touchwin(stdscr);
                        refresh();
                        items=draw_menu(60-menu_start_col);
                        return scroll_menu(items,5,60-menu_start_col);
                } else if (key==ESCAPE) {
                        return -1;
                } else if (key==ENTER) {
                        return selected;
                }
        }
}
int main()
{
    int key,t;
    WINDOW *menubar,*messagebar,*window;
    init_curses();
    bkgd(COLOR_PAIR(1));
    window=subwin(stdscr,1,80,24,0);
    wbkgd(window,COLOR_PAIR(4));
    menubar=subwin(stdscr,1,80,0,0);
    messagebar=subwin(stdscr,1,79,23,1);
    draw_menubar(menubar);
    move(2,1);
    printw("Press F1 or F2 to open the menus. ");
    printw("F9 quits.");
  ///  window=newwin(2,68,23,8);
   /// wbkgd(window,COLOR_PAIR(4));
    ///t=wgetch(window);
    refresh();

    do {
        int selected_item;
        WINDOW **menu_items;
        key=getch();
        werase(messagebar);
        wrefresh(messagebar);
        if (key==KEY_F(1))
{
            menu_items=draw_menu(0);
            selected_item=scroll_menu(menu_items,5,0);
            delete_menu(menu_items,9);

   if (selected_item<0)
                wprintw(messagebar,
"You havent selected any item.");
            else
                wprintw(messagebar, "You have selected menu item %d.",selected_item+1);
            touchwin(stdscr);
            refresh();
 }         else if (key==KEY_F(2))
{
            menu_items=draw_menu1(10);
            selected_item=scroll_menu(menu_items,5,10);
            delete_menu(menu_items,9);

   if (selected_item<0)
                wprintw(messagebar,"You havent selected any item.");
            else
                wprintw(messagebar, "You have selected menu item %d.",selected_item+1);
           // touchwin(stdscr);
           /// window=newwin(2,68,23,12);
   ///wbkgd(window,COLOR_PAIR(4));
  /// t=wgetch(window);
   touchwin(stdscr);
   refresh();
}
else if(key==KEY_F(3))
{
menu_items=draw_menu2(20);
selected_item=scroll_menu(menu_items,5,20);
delete_menu(menu_items,9);

if(selected_item<0)
wprintw(messagebar,"dont select any item");
else
wprintw(messagebar, "You have select menu item %d",selected_item+1);
touchwin(stdscr);
refresh();
}
else if(key==KEY_F(5))
{
  menu_items=draw_menu4(40);
  selected_item=scroll_menu(menu_items,5,40);
  delete_menu(menu_items,9);

  if(selected_item<0)
  wprintw(messagebar, "No item is selected");
  else
  wprintw(messagebar, "You have selected menu %d",selected_item+1);
  touchwin(stdscr);
  refresh();
}
else if(key==KEY_F(6))
{
menu_items=draw_menu5(55);
selected_item=scroll_menu(menu_items,5,55);
delete_menu(menu_items,9);

if(selected_item<0)
wprintw(messagebar,
" No item is selected");
else
wprintw(messagebar, "You have selected menu %d",selected_item+1);
touchwin(stdscr);
refresh();
}

else if(key==KEY_F(7))
{
 menu_items=draw_menu4(60);
 selected_item=scroll_menu(menu_items,5,60);
 delete_menu(menu_items,9);

 if(selected_item<0)
       wprintw(messagebar, "No item is selected");
 else
wprintw(messagebar, "You have to select  menu %d",selected_item+1);

 touchwin(stdscr);
 refresh();
}
 } while (key!=KEY_F(9));

    delwin(menubar);
    delwin(messagebar);
    delwin(window);
    endwin();
    return 0;
}

Read More..

Thursday, April 10, 2014

Modules and Run Liberty BASIC

People have been asking for a way to create code libraries in Liberty BASIC for some time. I have thinking about how to do this using an in-memory model. Over the weekend Scott and I worked on adding some modularity to the Run/Liberty BASIC language. Heres how it works so far. We are open to suggestions.

The RUN statement has a new form. If I want to use mymodule.bas as a module in a program I am writing I would code it like this:

run "mymodule.bas", #myModule

This causes mymodule.bas to be compiled into memory. It will execute code up to the first wait statement. This is how values will be initialized. The program then becomes an object assigned to the #myModule handle.

Then you can call any function on that program from within the calling program, like so:

#myModule myFunction(myParameter)

or even use the invokation in a more complex expression:

print "digits: "; len(#myModule myFunction(myParameter))

You may recognize this syntax as being the same as for controlling widgets. It relies on the same underlying mechanisms to do its work.

When were done with this, modular programs loaded this way will be cached in memory and will only recompile when the source file changes.
Read More..

Wednesday, April 9, 2014

Directory or Folder Creating Program with C C Language

Problem:  How to create a directory or folder

Solution

This is a program to make a folder or directory in a specific disk drive. To create a folder a function named mkdir () is used here. Within the parenthesis, you have to put the specific disk drive and folder name like C:/name. Programming code for creating a directory goes below.

Example: Code to create a folder or directory

#include<stdio.h>
#include<conio.h>
#include<process.h>
#include<dir.h>


void main()
{
  
int check;
 
char
*dirname;
 
clrscr()
;
 
printf
("Enter a directory path and name to be created (C:/name):");
  gets(dirname);
  check = mkdir(dirname);


  if (!check)
 
printf("Directory created
");


 else
 {
   
printf("Unable to create directory
");
   exit(1);
 }

 
getch();
  system("dir/p");
 
getch()
;
}


Output

Enter a directory path and name to be created (C:/name): C:/test.
Directory created.


Remark

Run this program and visit c drive. You will find a folder named TEST. If you don’t use path, you will find it in BIN directory.



Read More..

The Benefits Of Architecture Project Management Software

By Jeannie Chapman


Any professional services firm needs to effectively and efficiently manage resources. This is especially true in architectural firms where multiple projects involve both the staff, outside contractors and clients. Unfortunately many managers are not as effective as they could be because they rely on a pieced together system for management. That is where architecture project management software can help significantly, and add to a firms profitability.

Many firms piece together email, generic pm programs, spreadsheets, documents and a shared drive to manage things. And while this will get you by, you will not be best utilizing resources. Specifically designed architecture project management software blends together all the key components of the these programs into one easy to use interface. Since it is designed with architects in mind, the workflow, terminology and reporting are all tailored to the industry so there is little downtime in switching to the system.

The benefits of using a program dedicated to architectural projects are many. First and foremost is the software does not need to be adapted to the practice. Templates, reports, terminology and such are all architectural related. These programs have been developed by those with an intimate knowledge of the process, which makes using the system relatively simple and intuitive.

The basis of all good software is to organize, coordinate and manage the teams tasks, deliverables and workload. These programs offer a variety of features to make this easy. Project managers can plan all aspects of the project with a simple interface, entering tasks, dependencies, resources, time and other important components. Once entered these programs generally use Gantt chart-type reporting to get a visual look at a project.

Resource tracking and utilization is important aspect of managing projects and this type of software makes this task relatively easy. Reports can be generated at the employee level or the task level so you can see how people are spending their time, or conversely how much effort a task is taking. This allows the PM to stay on top of important deadlines and reassign resources as needed.

Another important feature of many of these programs is proposal and contract management. This simplifies the work flow for developing RFPs, submittals and any other key documents. Most allow for collaboration and provide version control so edits and inputs are not lost. This document management extends throughout the work, keeping track of things like addendums, change directives, contract changes, change orders all the way to the punch list.

Ideally all projects go according to plan, but of course this is not always the case. This is where reporting and analysis is important for improving profitability. Architecture project management software allows the PM and senior staff to perform detailed analysis on staffing, budgets and resource allocation. Most have numerous report templates, but customization is generally available too.

Competition today is fierce and unfortunately the most creative firms are not always the most successful. This is often due to less than ideal business processes and the inability to most effectively allocate resources and maintain billability. Architecture project management software takes much of the guesswork out of this process by providing the tools to do things more effectively. If you are not using a comprehensive PM system, you owe it to yourself and your firm to find out more.




About the Author:



Read More..

Tuesday, April 8, 2014

Number star pyramid

Q. write a C program to print the following number star pyramid as:

1
**
123
****
12345
******

Ans.

/* c program for number star pyramid */
#include<stdio.h>
int main()
{
 int num=6,r,c;

 for(r=1; r<=num; r++)
 {
   for(c=1; c<=r; c++)
   {
      if(r%2==0)
         printf("*");
      else
         printf("%d",c);
   }
   printf("
"
);

 }
 getch();
 return 0;
}

The output of above program would be:


Output of number star pyramid C program
Figure: Screen shot for number-star pyramid C program

Read More..

Monday, April 7, 2014

Introduction to Linked Lists Part II

In the previous article Introduction
to Linked Lists
, we introduced the basic concept of linked list. To
make the program (an the article) as simple as possible, we discussed only the
addition and display of nodes in the linked list although necessary we didnt’t
discussed the deletion of node in that article.


In this article we will be discussing about the deletion of nodes from linked
lists.


Deletion of node (elements) from a linked list


The node to be deleted can be represented by many ways but here we will be
representing it by its info. So if we have the following linked list


Linked lists - Deletion of nodes




And we want to delete node1 then we will express it by its info part (i.e. 10).


The main theory behind deletion of nodes is pretty simple. We need to make
the link pointer of the node before the target node (to be deleted) to point
at the node after the target node. Suppose if we wish to delete node having
info as 10 from the above linked list then it will be accomplished as below:


Linked list - Deletion of nodes


Now since node1 is orphan and has no meaning, it can be deleted
to free-up memory as represented below:


Linked lists - node deleted to free-up memory


The following example program illustrates all this. Keep reading
the comments to understand what is happening where!


  // -- Linked Lists --
// ------------------
// Example program in C++
// to illustrate the most simple
// linked list
// NOTE: this program can do three
// operation [adding, deleting,
// and displaying] of data in a
// linked list
#include<iostream.h>

// node class, this will
// represent the nodes or elements
// of the linked list
class node
{
public:
int info;
node *link;
};

// declare global objects
node *start=NULL;

// function prototypes
void add(int inf);
void display(void);
void del(int);

void main(void)
{
int ch;

// input elements
while(ch!=0)
{
cout<<"enter element to be added:";
cout<<"
enter 0 to stop...
";
cin>>ch;

if(ch!=0) add(ch);
cout<<"

";
}

ch=-1;

while(ch!=0)
{
cout<<"enter element to be deleted:";
cout<<"
enter 0 to stop...
";
cin>>ch;

if(ch!=0) del(ch);
cout<<"

";
}

cout<<"elements are...
";
display();

// below is a bit confusing
// part.
// here all the nodes that
// we have allocated are
// being freed up
node temp;
while(start!=NULL)
{
// store the next node
// to the one being deleted
temp=*start;
// delete the node
delete start;

// retrieve the next node
// to be deleted
start=temp.link;
}
}

void add(int inf)
{
node *temp1;
node *temp2;

// if the element to be added
// is the first element
if(start==NULL)
{
// allocate a new node
temp1=new node;
temp1->info=inf;
temp1->link=NULL;

// make start point at it
start=temp1;
}
// if not
else
{
temp1=start;

// find out the last element
while(temp1->link!=NULL)
temp1=temp1->link;

// allocate new node
temp2=new node;
temp2->info=inf;
temp2->link=NULL;

// make the last element
// of the list to point
// at the newly created node
temp1->link=temp2;
}
}

void display(void)
{
node *temp;
temp=start;

// traverse or process
// through each element
// and keep printing
// the information
while(temp!=NULL)
{
cout<<temp->info<<endl;
temp=temp->link;
}
}

// this function takes an
// argument which is the info
// of the node to be delted
void del(int num)
{
node *old;
node *target;

target=start;

while(target!=NULL)
{
// if node to be
// delted is found
if(target->info==num)
{
// if node to be deleted
// is the first node
// in the list
if(target==start)
start=target->link;

// if not
else
// then make the node
// prev. to the node
// to be deleted to
// point at the node
// which is after it
old->link=target->link;

// free-up the memory
delete(target);
return;
}
else
{
// traverse through
// each node
old=target;
target=target->link;
}
}
}

Related Articles:


Read More..

Sunday, April 6, 2014

7 Design numbers rectangle structure

Q. Write a program to generate a following numbers structure:
   (Where user entered number through keyboard, for example if num=5)

                                54321
                                54321
                                54321
                                54321
                                54321

Ans.

/* c program for symbol triangle*/
#include<stdio.h>
#include<conio.h>
int main()
{
 int num,r,c;
 printf("Enter loop repeat number(rows): ");
 scanf("%d",&num);
 for(r=1; num>=r; r++)
 {
  for(c=5; c>=1; c--)
     printf("%d",c);
  printf("
"
);
 }
 getch();
 return 0;
}
/*************OUTPUT**************
Enter loop repeat number(rows): 5

                                54321
                                54321
                                54321
                                54321
                                54321

***********************************/           
Read More..

Short Circuit operators

C language has two types short-circuit operators:

  1. Logical AND operator  &&
  2. Logical OR operator  ||
What is meaning of short-circuit


In C language, the meaning of short-circuit is that if there are any expression, then output of expression must be determined by the left side operand, and right side operand never be executed.
Here two case occurred,:
what would be output if left side operand is true?
what would be output if left side operand is false?

keep in mind: 0 or any negative value is always false.
                    1 or any non-zero value is always true.


Lets understand short-circuit operators by example:

x && y

hear, if left side operand x is false then overall expression to be false, and the right side operand y never evaluated.
If left side operand x is true then result of expression depend upon right side  operand y and in this case right side  operand will be evaluated.

m || n

here, if left side operand m is true then overall expression to be true, and right side operand n not to be evaluated.

Read following programs carefully:

/*c program for logical OR short-circuit operator example*/
#include<stdio.h>
int main()
{
 int x, y , z;
 x = y = z = 1;

 ++x || ++y;

 printf("
x=%d y=%d z=%d
"
, x,y,z );

 getch();
 return 0;
}

The output of above program would be:

x=2  y=1  z=1
explanations: In above program logical OR short-circuit operator, in expression left hand side operand x is true so its increase ++x i.e. x=2. And right side operand y not to be evaluated.

-------------------------------------------------------------------

/*c program for exercise of logical OR short-circuit operator operators*/


#include<stdio.h>
int main()
{
 int x, y , z;

 x = y = z = 0;

 ++x || ++y;

 printf("
x=%d y=%d z=%d
"
, x,y,z );

 getch();
 return 0;
}

The output of above program would be:

x=1  y=0  z=0
explanations: In above program logical OR short-circuit operator, in expression left hand side operand x is false so right side operand y not to be evaluated.


-------------------------------------------------------------------

/*c program for exercise of logical AND short-circuit operators example*/


#include<stdio.h>
int main()
{
 int x, y , z;

 x = y = z = 1;

 ++x && ++y;

 printf("
x=%d y=%d z=%d
"
,x,y,z );

 getch();
 return 0;
}

The output of above program would be:

x=2  y=2  z=1
explanations: In above program logical AND short-circuit operator, in expression left hand side operand x is true(++x) so right side operand y also evaluated(++y).


-------------------------------------------------------------------

/*c program for logical AND, logical OR short-circuit operators example*/

#include<stdio.h>
int main()
{
 int x, y , z, r;


 x = y = z = 1;
 r = ++x || ++y && ++z;
 printf("
r=%d"
, r);

 printf("
x=%d y=%d z=%d
"
, x,y,z);



 x = y = z = 1;
 r = ++x && ++y || ++z;
 printf("
r=%d"
, r);

 printf("
x=%d y=%d z=%d
"
, x,y,z);



 x = y = z = 1;
 r = ++x || ++y || ++z;
 printf("
r=%d"
, r);

 printf("
x=%d y=%d z=%d
"
, x,y,z);



 x = y = z = 1;
 r = ++x && ++y && ++z;
 printf("
r=%d", r);

 printf("
x=%d y=%d z=%d

", x,y,z);


 x = y = z = 1;
 r = ++x || ++y && ++z;
 printf("
r=%d"
, r);

 printf("
x=%d y=%d z=%d

", x,y,z);



 x = y = z = -1;
 r = ++x || ++y && ++z;
 printf("
r=%d"
, r);

 printf("
x=%d y=%d z=%d

", x,y,z);


 x = y = z = -1;
 r = ++x && ++y ||  ++z;
 printf("
r=%d"
, r);

 printf("
x=%d y=%d z=%d

", x,y,z);


 x = y = z = -1;
 r = ++x ||  ++y ||  ++z;
 printf("
r=%d"
, r);

 printf("
x=%d y=%d z=%d

", x,y,z);


 x = y = z = -1;
 r = ++x &&  ++y &&  ++z;
 printf("
r=%d"
, r);

 printf("
x=%d y=%d z=%d

", x,y,z);


 x = y = z = -1;
 r = ++x || ++y &&  ++z;
 printf("
r=%d"
, r);

 printf("
x=%d y=%d z=%d

", x,y,z);

 getch();
 return 0;
}

The output of above program would be:


Output of short circuit operators C program
Screen shot for logical AND, logical OR
short circuit operator C program


Read More..