Posts Tagged ‘choice’

Set different download locations for different filetypes using Opera

There is one thing about most browsers that really annoys me. It’s related to the download location. First of all it can take you half an hour to find how to change the default download location and after you find it you realize that you can setup only one download location for all types of files. Now this may seem a bit nitpicky, but when you download a lot files you certainly expect a little more sophisticated behavior from your browser. Of course you could always use a download client, but considering how advanced are our browsers it is kind of ridiculous to use such a client nowadays.

Introducing Opera’s download settings – a browser that lets users set their default download location for each filetype. In this short tutorial we will show you how to do just that.

First of all open Opera, click on the Opera button select Settings > Preferences:

Note: Alternatively, you can use Ctrl + F12.

A new window will open:

Navigate to the Advanced tab:

Select Downloads in the left-hand pane:

Here you can see a list of recognized files (listed with their MIME types) and the default download folder. However you can easily set a folder of your choice. Select a file type and click the Edit button. A new window will open:

Here you can directly choose the appropriate behavior for that file, including whether to be saved, opened with Opera, opened with a plug-in, opened with an application of your choice or saved to a specific location. To set a specific location for this kind of file, simply select the Save to disk radio button, check the Do not ask for folder, but save directly to option and choose the appropriate directory:

Click OK and click OK in the Preferences window.

VN:F [1.9.18_1163]
Rating: 6.7/10 (3 votes cast)

15 reasons why should one choose C++?

Nowadays there are thousands of programming languages and hundreds (if not thousands) of general purpose programming languages. However, despite the great variety, according to the TIOBE Programming Community Index (http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html) around 70% of users rely on 20 programming languages. 28 years after its birth C++ (http://www.cplusplus.com/) remains amongst the most used and loved programming languages. Not only that, the new standard (dubbed C++0x) is just around the corner. So we ask the question: “Why people choose C++?”.

1. C++ is an intermediate-level language, that is to say it supports both low-level and high-level features.

2. C++ provides a better support of the functional programming paradigm than most of the other object-oriented programming languages (C#, Java, etc.)

3. C++ supports generic programming.

4. I know this may start a lot of arguments, but C++ is faster than Java and C#. Many people will argue and all, but that is the truth. Sorry! In general C++ applications are faster than Java and C# applications.

5. Templates and generic programming are easy to use. Sure, there are a few details you should know about templates, a few tricks and traps, but overall there are really easy to use.

6. C++ can directly call C routines.

7. There is a myriad of good libraries for C++.

8. C++ is the best choice for large applications, for applications that you want to port easily through recompiling on multiple platforms and for embedded systems.

9. Good frameworks for applications with GUI which generate portable code.

10. C++ supports static polymorphism.

11. Top-notch development tools. Great IDEs for Windows, Linux and Mac which allow very fast coding and easy refactoring. Great compilers, which provide extremely effective optimizations. Great code profiling tools for code analysis.

12. C++ is the best choice for real-time systems as its runtime can be easily approximated.

13. When an exception is thrown the process called stack unwinding begins. It takes care of calling the destructors of all local objects, which in turn should take care of memory deallocation.

14. C++’s syntax is easy.

15. Keeping every single function in classes doesn’t always make sense (although it is possible in C++).

Of course, this list doesn’t thoroughly exhaust the reasons why people choose C++. Leave a comment. Why do you choose C++?

VN:F [1.9.18_1163]
Rating: 4.5/10 (2 votes cast)

Choosing the right Content Management System

Choosing the right Content Management System

Choosing the right CMS is a fundamental decision and will pretty much predetermine the success of your project. Not long ago, before the birth of CMSs, people used to update their content by manually changing the HTML code of the site. Nowadays, things are a lot more civilized and there is a large variety of platforms that can do that sort of thing for you, no need to know HTML or CSS and stuff like that. But, when I say “a large variety”, I mean exactly that. Today there are so many CMSs that one could easily get lost and make a wrong choice. Don’t get me wrong, I’m not implying that most of the CMSs are bad, on the contrary, most of them are actually pretty good, but there is yet to come a CMS that works perfect for everybody. That is why one should be cautious when making his decision.

What should you do?

Embrace the variety. Variety means options. If a CMS doesn’t meet your criteria, choose another one. Yes, it is that easy.

Try it. Try out different CMSs. Click here and there, add a post, edit it, delete it. Is the editor good? Preferably don’t test an already installed demo (it will obviously work). Set it up yourself or have the person in charge of deployment set it up. Is it easy to setup? Evaluate the performance. See if you can configure it like you want – customization and flexibility are a must.

Evaluate the user interface. A CMS is more than it name states. It should not only manage content. It should look good and feel natural as well. Does your choice look good?

Check for. Roles and permissions – so you can assign different roles to people with different skills (otherwise you may one day wake without a site at all), versioning – it’s always good to be able to bring back an older version), multiple website support – if you plan on making a mobile version of the site for example, multilingual support, etc.

What shouldn’t you do?

Don’t trust biased information! Don’t look for opinions in a site or forum that is obviously supportive of one CMS. There is no such thing as a CMS that works for all. Try to stick to independent reviews.

Price doesn’t mean quality! Don’t think that more money will get you a better CMS. Many times Open Source solutions surpass paid ones greatly.

Beauty means nothing! Just because an existing installation looks nice, doesn’t mean that the CMS is good. A designer can make you a custom theme for a modest price. Prefer functionality and performance to looks.

Define what you need.

Narrower needs like Editing Features (spell checker, pictures and videos in posts), Multilingual Support (multiple language support, localization), Social Media Integration (what social media, comments, tags, forum, user generated content), Cost (what is your budget not only for purchasing, but for deploying, modifying and customizing your CMS).

Broader needs like Usability (basically is the CMS easy to use, after all, the point of a CMS is to make maintaining a site easier), Evolution (will the CMS be able to keep up with your plan for evolution of the site/service, will it be easy to upgrade when new versions come out), Architecture (does the CMS fit in your IT architecture).

Decide…

Take your time! Consult with the IT department when researching and defining your needs. Consult with other departments as well (marketing, sales, etc.). Decision matrix, pros and cons, etc. always help. Ask for help and guidance from the IT department and from those who will use the CMS as well. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

How to choose a text editor for programming

How to choose a text editor for programming

Nowadays there are tons of IDEs (integrated development environments) and text editors designed specifically for programmers. Of course, a simple editor (e.g. Notepad) will always work fine, but if you are looking for a more sophisticated approach to programming and most of all – if you are going to spend a lot of time using a given programming language, it is best you choose an IDE/editor.

When choosing the proper tool one should consider the two options – IDE or editor. IDEs provide a lot more language specific functionality like autocomplete, code refactoring, compiler/interpreter, etc. while on the other hand editors provide (at best) syntax highlighting, indentation, autocomplete of keywords and some other basic features. However, editors are easier to get used to, easier to master and are the best choice for inexperienced users (and for a great part of the interpreted languages). In this article we will present you with what we think is the best approach to choosing an editor. If you have experience and prefer using an IDE, have a look at this article.

While we are still at the beginning, we should note that we expect from the reader to have already chosen the language(s) he will use and is quite aware to what extent he will use the language, that is to say he should know will he write “Hello World!”s or will he “go deeper”.

Good places to search for a text editor are Open Source indexing sites and web-based source code repositories (e.g. SourceForge.net). You would be surprised at the variety of choices. Look for editors that are suitable for you platform. Find editors that are specifically written for the language of your choice or support it. Read user comments regarding those editors that match your criteria.

Try the two classic choices – Vim and Emacs. Using either of them is pretty much like driving a car – you start it, have no idea what are you doing, get used to it and start driving. And similar to driving a car you can drive it at 200 mph or do drifts, etc. Or alternatively, you can drive around peacefully without maxing out your editor’s performance.

If Vim and Emacs are a bit too much for you, you can try simpler editors. Still try not to make compromises with your tool. If other editors don’t provide the minimum features you require, don’t put up with them, prefer the more complex ones – it is better to spend a day learning how to use a new tool than too lose a lot more time making up for the bad tool’s flaws. For example, if you are going to use Python, the least your editor should provide is syntax highlighting and indentation.

If you are a Windows user, take a look at Notepad++. It is a wonderful editor with syntax highlighting for many languages, indentation, it supports multiple files open in tabs or in different instances, split screen and many more. You can even create your own highlighting rules if the language is not supported (although I have used that feature only when I wrote in Scheme). You can customize your highlighting (change colors, etc.) and it is completely free.

Plan ahead. Choose an editor that will suit your needs for as long as possible, because the whole switching tools process is kind of hard. Still try not to plan too much ahead. If you are a beginner, try to choose something that you will become familiar with fast, otherwise your chosen editor may be confusing. Later you can choose a more complex editor.

If you have used a different editor before and want one with more functionality or you have used complex editors for other languages, choose a complex editor, language-specific or not.

Finally if you want more advanced features like code completion, project management or refactoring, maybe an IDE is the better choice for you.
Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

How to choose an IDE

How to choose an IDE

Whenever it is time to start using a new language, every programmer has to make a choice that will predetermine his experience with the language – choosing the proper IDE (integrated development environment) or the proper editor. Of course, one can always go with Notepad, but by using the proper IDE/editor your task becomes much, much easier thanks to things like automatic indentation, syntax highlighting, etc. Not to mention the advanced features that an IDE may provide. However choosing an IDE or an editor is a difficult task. Nowadays there are at least a dozen IDEs for any language and hundreds of editors, and the truth is most of them are awful. So what to choose? In this short article we will try to show you a good and structured approach to choosing the proper IDE for you. If you think that a text editor will suit you better, take a look at this article.

While we are still at the beginning, we should note that we expect from the reader to have already chosen the language(s) he will use and is quite aware to what extent he will use the language, that is to say he should know will he write “Hello World!”s or will he “go deeper”.

So where to start? Open the official website of the language and search for a list of IDEs that support it. Also take a look at the Wikipedia entry for the language, there is a list of implementations and IDEs for most of the programming languages.

Read the reviews for the IDEs you find. Do not limit yourself to only one review for an IDE.

Ask for help in a forum that has a section dedicated to the language of your choice. Explain what you need, your platform, etc.

Don’t be afraid to use the products of the “big players”. Microsoft for example has a free version of Visual Studio for non-commercial use.

If you plan to work on different platforms, try to find an IDE that works on various platforms.

Don’t compromise with the features you want. If you want advanced debugging – get the IDE that provides it. It is better to pay a little bit more than to fail a project or spend a week debugging. If you want auto complete, get it – you will spend less time on writing. Consider all IDEs, not only those in your price range. Analyze the benefits of getting an IDE with more features. Don’t choose an IDE which has many features you will never use.

If you choose a free IDE, choose those that have a large community and are regularly updated.

Compiler/interpreter is a must for most languages. Autocomplete is of great help. Indentation is a must. The need for a debugger depends on your needs. Refactoring is always a plus.

If you are a novice, try using a few free IDEs first. Spending money on an IDE that you don’t use is stupid.

If IDEs sound too complicated or simply overkill, have a look at this article. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

How to make Opera 11 use less memory

Opera 11 is a pretty good browser and I prefer it to Firefox and Google Chrome for many reasons. I will launch into explanations on why Opera is my choice in this article, rather than explain a little trick which will make Opera use les RAM. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 8.3/10 (3 votes cast)