Using Scanners in GNU/Linux

I’m sure that some of you will be planning to buy scanners that could work in the operating system of your choice. The easiest way to get your scanner working under GNU/Linux is by using SANE (Scanner Access Now Easy) backend, which is supported by the GIMP project.

Personally, I use the budget Canon LiDE-20 model, which I use for scanning documents and photos for my collections. Here’s is the list of scanners supported under GNU/Linux : Scanners supported by SANE

The article listed below discussed about how to get scanners work with your GNU/Linux operating system : Getting scanners to work with Linux

Recommended Product
The CanoScan LiDE 20 USB flatbed scanner is one of the world’s most compact flatbeds, yet it offers big performance and big savings. Just over an inch high, it packs all the features you need to scan images, copy documents, and e-mail your favorite photos, all with one-touch operation.

scanner,gnu/linux, hardware,linux,tips,sane

How to use diff and patch in your project

Diff and patch are two separate tool that are often use together, particularly in software development. The use of these tools can ease up the process of recording differences and applying changes between two files.

diff is a tool that can be use to create a “diff” or “patch” file that contains differences between two files. Though diff can write into many different format, most people will prefer the unified format as it is easier to work with.

patch is another tool that complements diff, it will apply the differences in the “patch” file to the target file. Think of it is a way to “patch” your old files with newer modifications.

The guide below is the simplest way to use diff and patch. Though the information provided here is incomplete, I believe it can get you started in using them in your project.

How to use diff

The basic use of diff is,
diff -u original.txt modified.txt > file.patch

If you want to use diff against two source tree, the command is,
diff -rupN original modified > program.patch

How to use patch

To apply the patch, change into the same directory as the unmodified file and execute
patch < file.patch This is how to apply patch to an entire directory, patch -p0 < program.patch Patch applied can be simply removed by adding the -R switch, patch -p0 -R < program.patch patch -R < file.patch For the explanation of using the -p parameter, please read Applying patch to other directories

Other reference : LinuxJournal

unix,guide,tips,diff,patch,tutorial

Ittutor Mozilla search plugin

I don’t know if anybody has done this, but I’ve hack a Mozilla search plugin for Ittutor forum. Ittutor is a Malaysian forum that focuses on computer related topic and other discussions.

This search plugin is to be use from within Mozilla suite or Mozilla Firefox browser, or any browser that supports Mozilla Mycroft extension

Forum Ittutor

You can get it here : Forum Ittutor Search Plugin

Get Mozilla Firefox Here


Morality issue of HotMalayGirls.com

I read from http://www.hotmalaygirls.com/, that the maintainer of the website has taken down “Fareena” picture, because he/she received an email requesting so.

At first it sounded like the website maintainer is a reasonable person, but what shocked me was the statement that follows

We honour his request, not because we are afraid of his lawsuit. Please read the disclaimer. HMG complies with Copyright Laws and for your information there is no such thing as privacy intrusion if you create a weblog which anyone can access and read online. You want privacy, then password protect your blog.

In its disclaimer page, it is stated that HotMalayGirls honours Copyright Law. Let’s assume that the website in fact is obeying copyright law, which I doubt he/she is (hint: look at the supposedly “thumbnailed” photo).

Morality Issues

There’s still morality issue involved in here, not everybody is comfortable when somebody put their pictures in some blog and making profit from it, let alone organising somekind of a “beauty pageant” without the girls’ permission. I’m sure many people have voiced their concern about this website, but judging from the apparently blunt statement from the maintainer, I guess the complaints must have fall into deaf ears.

Even one of the top-rating blogger Sue Anna Joe has voiced her reservation about HotMalayGirls, and even considering to ask her picture to be removed at one point. The question is, what about other girls who do not even aware of their pictures being featured to be rated in this website? Morality issues…

The maintainer clearly takes matter lightly, the supposedly “pageant” offers USD100 for top rated “girl” (some which I doubt aren’t even Malay) will be given away to person who referred the girl should the girl can’t be contacted. Hell, who knows about that? If the girls personally give their permission to be featured in the website, than he/she probably has their contact number/emails to give the prize to.

Having trouble with “good faith” ?

Talking about good faith, the maintainer apparently has no problem digging on profiles and pictures of other people, but he/she clearly has problem introducing himself/herself. I mean, who’s the maintainer of the website? At least show some good faith since you are somekind of maniac that dig through people pictures and profiles and featured them in his/her own “beauty pageant”.

What I know about “the shady maintainer”

But one thing for sure that the “shady maintainer” is working alone based on his/her style of writing and this statement which explains that he/she is away “in a very remote area” and is unable to update the website.

Maybe somebody thinks that I’m silly for bringing this thing up, but I just want to point out the morality issue and my doubt about this gal/guy.

Lousy Disclaimer?

Ahem, this writing confirms to the “Copyright Law” stated by “the shady maintainer” of HotMalaygirls.com, I’ve right to publish this because the blog is avaiable to public and not in any way proctected by password.

In his/her own words, “You want privacy, then password protect your blog.”