On the Web - The Language Battle
Some arguments never seem to lose their popularity. Perhaps the new rule should be never talk about religion, sex, politics or programming languages—but how boring would that be? The publication of “Interview with Bjarne Stroustrup”, the creator of C++ (www.linuxjournal.com/article/7099), on the Linux Journal Web site, set off another battle in the ongoing programming language flame war. In the interview, Stroustrup discusses some of the history behind C++ as well as its evolution. The comment section, however, turned into an argument on whether C++ is a bad language or whether programmers merely use it incorrectly.
One of Stroustrup's rather sensible observations is people should use the best language for the task at hand. So with that in mind, this month we offer a recap of some language-specific articles available on the LJ Web site. With the increasing popularity of LDAP servers, it's good to have several management options available. In “An Introduction to perl-ldap” (www.linuxjournal.com/article/7086), Paul Dwerryhouse discusses how to use the Net::LDAP Perl module to “enable easy access to the data contained in LDAP directories from Perl scripts”. He then walks users through installing the module and demonstrates how to add, search for and modify entries.
If LDAP is your thing but Perl is not, check out “LDAP Programming in Python” (www.linuxjournal.com/article/6988) where Ryan Kulla explains how to use the python-ldap package with its object-oriented client API to work with LDAP directories. Kulla's goal is to “get you ready to write your own programs to automate the querying process of LDAP servers”. His example program demonstrates some of the basics that you can extend and explore on your own.
Continuing with Python, in “Host-Hopping Scripts in Python” (www.linuxjournal.com/article/6730), Mark Nielsen explains “how and why I used SSH, Python and Expect to transfer Weblogs to a central computer for processing”. A good example of using the right tools for the task, Mark's project also took advantage of tools already available on the network computers. The scripts included in the article show you exactly how he combined all the elements to gather together the systemwide Weblogs.
Not quite as volatile as the interview with Stroustrup, Aleksey Dolya's “Interview with Brian Kernighan” (www.linuxjournal.com/article/7035) explores some of the history behind the AWK programming language. The two also discuss C, how UNIX got its name, the early days of Bell Labs and teaching the next generation of IT workers.
If your personal favorite languages aren't mentioned here, do a search for them on the LJ site. We also have articles about working with Ruby, Objective-C, Java and others. And, be sure to check the Linux Journal Web site often; new articles are added daily.
Heather Mead is senior editor of Linux Journal.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
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.Register Now!
- SUSE LLC's SUSE Manager
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- My +1 Sword of Productivity
- Managing Linux Using Puppet
- Non-Linux FOSS: Caffeine!
- Doing for User Space What We Did for Kernel Space
- SuperTuxKart 0.9.2 Released
- Google's SwiftShader Released
- Parsing an RSS News Feed with a Bash Script
- Rogue Wave Software's Zend Server
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