Programming Tools: Eric3
I am writing this column for a number of reasons. First, I enjoy programming, and I find writing about it to be a trip. Second, a lot of wonderful programming tools are out there, but many are lost in the noise of competing commercial and non-commercial products. So, part of my job with this column is to highlight some of the tools I think are worthwhile. I will try to be objective, but in the final analysis, it all is subjective. You are free to agree or disagree, as is your wont.
Also, I don't know everything. New tools are introduced and existing ones are changing and expanding all the time, faster than I can keep up. For these reasons, you can tell me what you think and suggest other tools that you have found particularly useful. You, reader, are invited to be a contributor to this column.
In the world of open source, a constant tension exists between commercial and non-commercial products. Because of the limited resources many open-source projects have, I plant to review them more often than commercial products. That said, I have no problem with commercial products as long as they do not lock users into their use. Thus, I happily will review a commercial compiler, say, because you always are free to compile your programs using other compilers. The principle here is as long as the input and output obey open standards, products can do any processing they want--you are not locked in. This conforms to Richard Stallman's definition of free software.
I have a method to my madness is writing this column. When discussing a tool, I will try to cover these points:
Why you should use this tool.
What the major features of this tool are.
What setup or installation you need for this tool.
What resources are required to install and use the tool.
A sample application, hopefully useful, to illustrate the use of the tool.
The pros and cons of the tool.
A chart comparing other similar tools, if appropriate and if I am aware of these other tools.
A semi-subjective rating of the tool.
Being a Python developer is one of my many roles. I believe GUI-based IDEs are effective, so I have looked at a number of products, both commercial and open-source, that support Python. I chose the open-source eric3 IDE by Detlev Offenbach. It is written specifically for Python, and it uses PyQt bindings and the QScintilla editor widget. I find the eric3 IDE to be a delight. Figure 1 is a screenshot of a project showing eric3 version 4 beta, the version I currently use.
Here are some of the main features of eric3, the features I find most beneficial:
The main window layout includes tabview, listview and workspace, all of which are configurable.
The editor has syntax highlighting, code folding, auto indenting, brace highlighting, auto completion, calltips, bookmarks and macro recording capabilities.
An integrated project manager shows all the source files, forms, translations and any other file or directory that is part of the project, each displayed on its own tab. The source browser also has built-in class browsing capabilities.
An integrated, full-featured Python debugger that comes in three different flavors: the standard variant, a variant that doesn't need Qt and a variant to debug multithreaded applications. With the help of an additional debugger stub, it can be used to debug mod_python scripts as well.
An interactive Python shell has integrated debugger support and command-line completion.
An explorer window exists for walking through your directory structure with built-in class browsing capabilities for Python files.
Window panes display local and global variables in the current scope while debugging a program.
There are integrated source code wizards: a QRegExp wizard, a Python regexp wizard and several wizards for Qt dialogs.
The integrated refactoring browser uses the Bicycle Repair Man package.
Scripting capabilities are built into eric3.
There is an integrated interface to the Python Module unittest and code coverage analysis.
An integrated help viewer can display HTML help files, or you can choose to use Qt-Assistant to view help files.
You have the ability to start Qt-Designer and Qt-Linguist from within eric3.
You also can compile Qt-Designer forms to produce Qt-Linguist files and release them from within the IDE.
As you can see, eric3 has an impressive list of features, many of which I have omitted.
Practical Task Scheduling Deployment
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.View Now!
|The Firebird Project's Firebird Relational Database||Jul 29, 2016|
|Stunnel Security for Oracle||Jul 28, 2016|
|SUSE LLC's SUSE Manager||Jul 21, 2016|
|My +1 Sword of Productivity||Jul 20, 2016|
|Non-Linux FOSS: Caffeine!||Jul 19, 2016|
|Murat Yener and Onur Dundar's Expert Android Studio (Wrox)||Jul 18, 2016|
- The Firebird Project's Firebird Relational Database
- Stunnel Security for Oracle
- My +1 Sword of Productivity
- Non-Linux FOSS: Caffeine!
- SUSE LLC's SUSE Manager
- Managing Linux Using Puppet
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Parsing an RSS News Feed with a Bash Script
- Google's SwiftShader Released
- Doing for User Space What We Did for Kernel Space
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide