Is elitism the reason many open source projects self destruct?

The author of this article seems to think so. He appears to be primarily talking about Ubuntu here, but we strongly suspect that the same thing has happened with several other open source projects:

The Achilles Heel of Open Source: Elitism (Linux Advocates)

Related:

Mark Shuttleworth: Canonical leads Ubuntu, not ‘your whims’ (The Register)

Link: How to protect Apache with Fail2ban

Around 2 years ago I wrote an article about fail2ban.

Fail2ban is an intrusion prevention framework written in the Python programming language. It is able to run on POSIX systems that have an interface to a packet-control system or firewall installed locally (such as, iptables or TCP Wrapper).

Fail2ban’s main function is to block selected IP addresses that may belong to hosts that are trying to breach the system’s security. It determines the hosts to be blocked by monitoring log files (e.g. /var/log/pwdfail, /var/log/auth.log, etc.) and bans any host IP that makes too many login attempts or performs any other unwanted action within a time frame defined by the administrator.

Today I want to show you some configurations that you can use to improve the security of your Apache.

Read the rest here:
How to protect Apache with Fail2ban (Linuxaria)

If you ever play video using VLC and it is jerky or drops frames, try this

In VLC’s preferences, note the setting for “Use GPU accelerated decoding” — on most systems with modern graphics hardware this should be checked, but is not by default. So, check the box and then click Save. You can always change it back if it makes things worse, or causes videos to not play at all.

VLC Preferences — Input and Codecs settings — use GPU accelerated decoding
VLC Preferences — Input and Codecs settings — use GPU accelerated decoding

This setting does not seem to be available in OS X versions of VLC.

Link: 10 Annoying Apps We’re All Stuck Using (and How to Make Them Better)

There are probably at least two or three things on this list that you use almost every day, and some of you may use all of them:

10 Annoying Apps We’re All Stuck Using (and How to Make Them Better) (Lifehacker)

Link: For your robot-building needs, $45 BeagleBone Linux PC goes on sale

For your robot-building needs, $45 BeagleBone Linux PC goes on sale (Ars Technica)

BeagleBoard Website

New revision of BeagleBone Black takes on Raspberry Pi by dropping price to just $45 (Android Authority)

$45 BeagleBone Black is a more powerful Raspberry Pi alternative (Digital Trends)

Linux: Bash scripts to switch displays using xrandr (via Reddit)

We love simple solutions to problems, and this falls into that category.

A Reddit user has posted a pair of scripts to switch between two displays (a monitor and a TV) in Ubuntu 12.04, but these should be usable in many other versions of Linux as well. He writes:

I currently have a 40″ TV on HDMI (we’ll call this HDMI) and a 22″ monitor (DVI). I don’t want to dual screen these, I simply want one on at a time.

After a bit of difficulty at the start, this is what he came up with.

To switch the monitor off and the TV on:

#!/bin/bash
xrandr --output DVI --off
xrandr --output HDMI --auto
exit

To switch the TV off and the monitor on:

#!/bin/bash
xrandr --output HDMI --off
xrandr --output DVI --auto
exit

Be sure to make the scripts executable before running them.

How to get free TV schedule information for MythTV

 

Important
It appears that in July, 2015 and again in January, 2018 some changes were made to the program (and its associated service) mentioned below.  Zap2it changed the format and operation of their listings service, forcing some changes in the way zap2xml operates.  If you have previously set up zap2xml, you may need to re-download the software and set it up from scratch.  See this article for some additional information, and also the page for the software (as linked below) may provide more up-to-date information.  Also, I’ve removed a reference to a program that used to be free, but for all practical purposes no longer is.

It seems that if you live in the U.S.A., the MythTV people would really like to entice you to pay for a subscription-based TV listings service, but not everyone will do that. So, if you don’t want to pay, how do you populate your TV schedule grid with program information?

The easiest and most unquestionably legal way to do it is to simply grab the listing from the TV transmitters themselves. Almost all digital TV channels transmit schedule information, and to use it you simply need to make sure that on the MythTV backend, under Video Sources, the Listings grabber is set to Transmitted Guide Only (EIT).

The downside of this is that you will only get schedule information for a limited time, typically 1-3 days out from your current date. So, you won’t be able to schedule a program a week in advance. And another thing that might bother some users is that it will cause MythTV to operate your tuners continuously, because MythTV apparently constantly scans the channels for new EIT data (see this discussion in the HDHomeRun forum).

The other way is to use an external program such as zap2xml (Zap2it TV listings to XMLTV or XTVD .xml). In this case you set the MythTV backend Listings grabber setting to “No grabber” and use the zap2xml software to grab the listings and populate the database. The people who profit by selling the TV listings service don’t much like it if you do that, and therefore their proponents try to spread FUD (Fear-Uncertainty-Doubt) about the legality of doing this, but as a practical matter we highly doubt anyone will ever get in trouble for obtaining TV listings this way, and no one has up to this point, to the best of our knowledge. However, if you choose to use this method just be aware that there might be a cloud over the legality of doing so, at least if you believe the supporters of the commercial service. The larger concern is that someday this service will stop working, but that could happen with the pay service also.

Note that people who live outside the U.S.A. have no choice other than to use either the transmitted guide data or a free service, since the pay service only includes U.S. listings.

Generally it is a two step process:  You first run zap2xml to generate the required xmltv.xml file, then run mythfilldatabase (with appropriate options) to import the xmltv.xml file into the MythTV backend.

When you run mythfilldatabase, if you see error messages that include the phrase “Unknown xmltv channel identifier”, this means you need to open the xmltv.xml file in a text viewer or editor and find the channel id for each channel. Then go into the MythTV backend channel editor. For each channel there is an XMLTV ID field. You will need to place the correct channel id from the XML file (the entire string between the quotation marks) into the corresponding XML ID field, then select Next and (on the next screen) Finish, and you will need to do this for each channel. If you do this correctly, the “Unknown xmltv channel identifier” errors should disappear the next time your run mythfilldatabase.

EDIT: After this article was published, we discovered an additional similar program called WebGrab+Plus. It is described as follows: “WebGrab+Plus is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels.” There are some installation hints for WebGrab+Plus here. We have not attempted to install or use WebGrab+Plus, but just wanted to note that this possible alternative exists.

If you know of any other ways to get free TV schedule information for MythTV, please feel free to share in the comments. But if you simply want to debate the legality of the alternatives, please don’t bother – as the title of the blog implies, these are simply technical notes, and not a forum for endless debates over whether something should or should not be done, and we will probably just delete any comments that don’t add to the technical knowledge presented here.

Related Article:
Some hints for getting free-to-air satellite channels into the Electronic Program Guide in Kodi (or another frontend) (Free-To-Air America)

 

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez