Monday, June 22, 2009

Is Piracy Wrong?

Personal sharing of copyrighted media is illegal, but we don't grow up learning the intricacies of law. Rather, we endeavor to learn, and exemplify, the difference between right and wrong. Is piracy a manifestation of our greed which will destroy the economy, or is it simply a step towards the next economic paradigm shift?

Ever since the shutdown of famed service Napster in 2001, corporations and governments have been trying to put an end to personal file sharing. Opponents of the concept have dubbed it "piracy", comparing it to theft, but the activity continues to grow.

International legislation, and conviction of the founders of The Pirate Bay have left little doubt about the legality of file sharing. But the law doesn't always tell us right from wrong. In fact, the right is often only served by breaking and eventually overturning unjust laws.

Paid for restricting access?!
Traditionally, companies based their income upon publishing and marketing a work (movie, album, software program, etc.) created by a third party then restricting access to it in order to derive recurring income. Although very profitable for the publisher, this model is characteristic of a monopoly, abusive to consumers and content creators, and discourages innovative new works. As more people become aware of their rights and options, this model becomes more vulnerable to failure.

The Law?
As weaknesses in the dominant business model have become more evident, governing bodies have changed or created laws to secure the business model. On the surface, this seems to clarify the situation by defining what is or isn't allowed with regard to media distribution. However, the influence of business over government must be considered. Even without the likelihood of corruption, corporations have greater power than individuals to affect legal change and often do so to support their own financial goals.

No Solution.
There is clearly a problem with the way media is marketed and sold. I would normally try to suggest a compromise everyone could live with. But this time I don't think there is one. It's not realistic to charge for making copies of material when making a copy effectively costs nothing. And it's impossible to capitalize on controlled access to media when all of the world's media is available through the Internet. For these reasons, music, video, and written publishing companies, as we know them, will go away.

No Problem!
While there may not be a solution to the problem that the publishing companies face, there's not really an overall economic problem, either. It's the nature of the economy to change and evolve. Efforts made by well-known groups such as Radiohead, Nine Inch Nails, and Monty Python, as well as newer artists like Jonathan Coulton to market and publish their works differently are just the beginning of a trend that will end up being better for content creators and consumers.

The Answer.
Although the term "piracy" was coined in this context to associate the act of sharing media over the Internet with a crime, we adopted it and now use it affectionately. We are pirates. The business practices that make the rich richer at the expense of artists and consumers are wrong. If we support these failing, obsolete businesses at our own expense, that's just charity for people who neither need nor deserve it. Piracy isn't wrong. It's sharing... It's human... It's civilized.

References:


Friday, May 29, 2009

Remove "stub" menu entries on Nokia tablets

I've discovered that there are some menu entries on my Nokia Internet tablet for applications which I haven't installed. Searching around the Web, I learned that these "stub" entries frustrate most owners of similar devices. This device is Linux-based, though, and that means that I have complete control. I just needed to figure it out :)

I'm using the Nokia N810, but this should also apply to the N800 and N770.

1. Got root?
First of all, you need to get root access. I recommend installing OpenSSH. Besides allowing you to set the root password and log in as root, it allows more and better ways of working with the device.

2. Type this:
After you gain root access, the rest is pretty easy. Simply type the following command:
apt-get remove gizmo-installer rhapsody-installer skype-installer

After you run the command, you'll see a warning message listing the packages that will be removed. You should notice an additional package that you didn't type. This will be a metapackage which depends on many other packages, but doesn't provide any software or files itself. This package, osso-software-version-rx44-unlocked on my system, can be safely removed.

3. A bug.
There's only one step remaining, and it relates to a bug in the way that the Rhapsody installer is installed. The menu entry file doesn't belong to the package and it has to be removed manually as root. Here's the command:
rm /usr/share/applications/hildon/rhapsody.desktop

Conclusion.
So, it's done after only a couple of simple commands. We weren't able to escape from the Linux command line and, just like in my previous article, the problem is related to lack of proper support for the menu system.

We should have been able to find these applications in the "Show installed applications" section of the application manager and been given the opportunity to remove them.

The Maemo menu interface should provide support for the Hidden and Deleted as defined in the desktop entry specification.

It's not perfect, but it is better to have much more complete control over my device that I could get from devices based on other operating systems.

Saturday, May 23, 2009

Linux Menu Hinders Consumer Adoption

The complexity and lack of support for the menu and icon system used in most Linux distributions serves as a hindrance to the adoption of Linux by the average consumer.

Here's an example:

I have a Windows program that I run with Wine. It runs flawlessly when I use the desktop icon created during installation, but when I create a new icon for the system menu, it won't run. I compare the properties of each icon, but they're identical. Why does one work while the other one doesn't?

The problem here is that the software provided to create and edit icons, or launchers in the Gnome vernacular, doesn't allow the user to view or change the working directory of the program. The Wine icon has a "Path" setting in its desktop entry file and the icon I created doesn't. The Path setting, which gives the program its working directory, is identified in the specification as a recognized key, but there's no way to set that key when creating the icon.

Even if I create a desktop entry file manually using a text editor, the file manager will not display its extension (.desktop) or allow me to open it. This attitude that I'm not smart enough to see the configuration file prevents access to key features and reminds me of the worst of the Microsoft Windows or Mac OSX modus.

Sunday, May 17, 2009

Using the Logo Key in Gnome

Keyboard shortcuts are a great way to boost efficiency, saving you from the keyboard-mouse-keyboard shuffle. Naturally, the logo key (a.k.a. the "Windows" key) is great for this purpose, but I haven't been able use it on my Eee. When I tried to set up the shortcut, it read the key by itself, representing it as "Super L", before I pressed the second key in the sequence. It's such a minor problem that I didn't make an effort to fix it.

Finally, I decided to look it up and found an old bug report suggesting that it was fixed years ago. So, the bug report didn't exactly identify my problem, but there was a reference to the keyboard layout which turned out to be the clue I needed.

It shouldn't surprise you to find that it's just a setting which allows greater flexibility than Windows. In the Gnome Control Center (Menu -> System -> Control Center, or just run gnome-control-center), click on Keyboard. Then, in the Layout tab, choose your keyboard layout from the "Selected layouts" section. Click on the "Other Options" button and change the Alt/Win key behavior from "Default" to "Super is mapped to the Win-keys".

Wednesday, May 6, 2009

Minimalist CSS Vertical Centering

I read somewhere recently about a technique used for vertical centering using CSS. I made a very minor improvement and used the technique myself, but i still have some conceptual problems with it.

The author's technique involves adding a couple of extra blocks surrounding the block to be centered, then using the display property to cause it to be rendered as a table.

This is the correct way to do it, as specified in the W3C recommendation, but it still seems hackish to me... Why do we insist so strongly that we mustn't use tables for layout, then create a display property that tells the browser to render an element like a table for layout? This isn't used for tabular data!

User Agents (browsers) should simply support "width, "height", and "vertical-align" properties for all elements where it makes sense. Then the W3C should drop "table" and "table-cell.

It's the correct way to do it, so I'll use it for now. I did save on one of those extra enclosing blocks by setting the display property of the body element to "table" instead of adding another div.

My example can be found at vertically_centered.html and I've also attached the file.

This has been tested in Opera 9.64, Firefox 3.5b5pre, Internet Explorer 8, Safari 4 Public Beta, and Google Chrome 1.0.154.64.

Monday, May 4, 2009

10 Reasons Why Diigo Leaves a Bad Aftertaste

A while back, I read 7 Reasons Diigo Tastes Better Than Delicious by David Pierce at MakeUseOf.com. This was the first time I had ever heard of Diigo. I was a happy Delicious user for a long time, but Diigo had some interesting features so I gave it a try. Since then, I've given Diigo a couple of tries which always resulted in dissatisfaction and a return to Delicious.

This article is based on some of the reasons why I don't use Diigo any more, and the fervent hope that someone over at Diigo will accept some constructive criticism.


  1. It takes too many steps to open a saved bookmark.
    If I want to open one of my saved bookmarks, I need to click on the sidebar button, type the tag and press Enter twice, click the page title, then close the tab that was already open. I might as well just google for the page I want.


  2. Everything opens in a new tab.
    I usually want to find a bookmark I've saved and open it in the current tab. If I wanted a new tab, I'd use the middle mouse button.


  3. The sidebar is slow and I have to wait for it to refresh, like a Web page.
    There's no benefit over using the Web page.


  4. diigo_searching

  5. Items in the sidebar take up too much vertical space.
    If I'm trying to find a bookmark I've saved, chances are that I know the title of the page and I'll recognize it from the first several characters. It would be better to cut the title off after a certain number of characters, then use an ellipsis.


  6. diigo_delicious_vertical_size

  7. The bookmarks list doesn't show the URL and the URL for a saved bookmark can't be modified.
    This is especially a problem for multiple bookmarks at the same Web site, where the titles might all be the same. Sometimes, I may even need to change a URL either to take advantage of a dynamic redirection, or to avoid it.


  8. There's no simple "bookmark" toolbar button.
    There's a "One-click save" button that will save your bookmark with some default settings without prompting you for anything, a useless "unread" bookmark button, and a big, text-only "Bookmark" button with a drop-down menu. The big one is more useful, but it's text-only with no icon and its dialog has too many extra features. I need an icon to click on which will prompt for (only) the tags and title I want to use, then save the URL.


  9. The bookmarklet doesn't work if the extension is installed.
    The bookmarklet provides a different interface and different functionality from the extension's features. I'd like to be able to use it, but I'd like to use the extension's sidebar sometimes, too.


  10. diigolet

  11. Diigo uses JavaScript confirm boxes for many prompts where inline, dynamic (AJAX-style) prompts would be more useful.
    This can be important when deleting bookmarks when I really want to know I'm not deleting the wrong one.


  12. No sorting.
    Diigo's bookmarks are sorted by date, starting with the most recent and there are no options to sort them any other way.


  13. Some of the additional features, such as Twitter integration and "Lists", serve to complicate the interface and make it more confusing. They just get in the way.
    These might be valuable features to some people, but they don't need to be in every part of Diigo's interface. For example, I don't need "Twitter this!", "Add to a List", "Share with Friends", "Share to a Group", and "Save & Send" options all in the Bookmark dialog.



This doesn't counter the excellent article at MakeUseOf.com, but complements it, offering a different perspective.

It's not intended to condemn Diigo, either. Diigo is very promising and I'll probably give it another chance. It just doesn't meet my needs right now. One major advantage that Diigo has over the competition is the feeling that I'm dealing with real people, rather than some impersonal and overly diversified corporation. As their About Diigo page states, they're just a group of 12 people in Reno, information junkies, who are passionate about making Diigo the best.

Wednesday, April 15, 2009

Using PHPMailer with the Drupal Messaging Module

If you want to use PHPMailer with Drupal's Messaging module, there are installation instructions in README.TXT in the messaging_phpmailer subdirectory. There are only four steps and it should be easy, but they're not clear and attempting to follow them can result in a confusing error message in the Status report page.










error Messaging PHPMailer PHP Mailer is missing
HTML Mail requires the PHP Mailer class to properly send HTML Mail. Please download the 2.0 version and place the phpmailer folder in your messaging_phpmailer module directory. Rename the folder to "PHPMailer".



So, here are some easier instructions :

  1. Download and install the Messaging module.

  2. Download PHPMailer: http://phpmailer.codeworxtech.com/ and extract it to the messaging_phpmailer subdirectory of the Messaging module directory.
    • This will create a directory named with the PHPMailer version number. For example: phpMailer_v2.3

  3. Rename the PHPMailer directory to only PHPMailer

  4. Enable the Messaging PHPMailer module (Administer -> Site building -> Modules).

  5. In the Messaging Settings (Administer -> Messaging & Notifications -> Messaging Settings), under the PHPMailer settings heading, select "Full HTML" as the Message body filter.