21 August 2008

New linux kernels and usb-storage problems

The ntfs-3g and fuse setup recommended a kernel 2.6.20 and up on CentOS 5.2. So I downloaded the latest version of the kernel at that time, 2.6.26 and compiled and installed it, and it seemed to work fine -- Then I realised that my Card reader stopped functioning. The Error I get:
attempt to access beyond of device.
I still have the problem with the latest kernel on Archlinux that is a prebuild binary. It seems that the linux devs have introduced some changes or have introduced some bugs. Windows also has no problems with this generic piece of hardware.

Note: Don't tell me my hardware/cable is bad, why does the older linux kernel work?

17 August 2008

Successful Blogging: A simple stratergy

An apple a day keeps the doctor away.
That's an old saying I have heard time and again, it rhymes, but I doubt that it really works.
A blog post a day keeps bad habits away.
Now that's not an old saying or a saying at all, but it could possibly work. After all we want to encourage good habits and be systematic. Oh and by the way, it rhymes too!

Thinking about writing a perfect blog entry will get you no where, practicing may be much more effective. It may even be possible to extend this to many other things in life... who knows?

Note: This is just a note too self and should not be considered as advice. It may in fact make your life more difficult(For example: Conflict between blogging and having a social life, out of the little free time you have you spend it blogging instead of some special person/people, etc)

P.S. Keeping an extra blog as a free-writing journal may help.

16 August 2008

True Small Caps in OpenOffice/Word

While there is no real support for True Small Caps, you can circumvent this limitation by using alternate fonts. For example, Linux Libertine provide separate fonts for normal, underlined and Small caps true type fonts. Opentype versions are also available.

Simply select "Linux Libertine C" for the tet you wish to format as Small Caps. You should not format the character, i.e. set the font effects to Small Caps, the font does the formatting. Fake Small caps generated by selecting "Small Caps" under font formatting will set all the text to caps and change the size of the any smaller case character to be around 2/3 of the upper case letters, something not desirable.

Don't let the "Linux" in the name fool you, you can use it under Microsoft or any other system that supports either .ttf or .otf fonts without any issues/limitations.

Talking about free fonts, there are some really nice fonts out there:
There are many others available under the SIL Open Font License. There is a good listing available at UrbanFonts.

15 August 2008

ArchLinux: your pc, your rules

The "big" distributions of linux seem to rule the roost. But are they exactly what you need? I have used a lot of Operating systems as well as various linux distributions. Many linux distributions take consider a general audience, some consider the average joe and a few consider complete control. Archlinux is precisely such a distribution.

If you install a copy of Fedora, you almost always end up with software you will never use. It does mean that you don't have so many headaches when compiling and/or installing new software -- their dependencies are already there. But if you have a nvidia graphics card, would you need ati, via, intel, etc drivers on your system? Consider the stability aspect of many a linux distributions. Some add instability to software applications. Examples include amaya on Ubuntu: The version available from the amaya website works flawlessly, but the ubuntu version crashes on some graphics hardware. Other software like aMule based using wxwidgets also crash on some hardware(like mine, unsupported el-cheapo via).

And now I have Archlinux on my system. I must admit that setting up the system is much more tedious than most other linux distributions. For example, I thought that installing gnome would install x.org and gdm: wrong! But after 2 days I have my system just as I would like it. I wouldn't suggest any inexperienced user or any user without internet connectivity to install it, but highly recommended to anyone else. Incidently aMule used to crash when I closing a seach tab, it does not crash on Arch.

I do have some odd "features" to point out
  • Firefox 3.0.1 is installed but is identified as Gran Paradiso. Some sites like orkut tell you that it is an unsupported browser. The firefox page itself tells me that I am using an early version. In the about box, it shows the following:


    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072612 GranParadiso/3.0.1
    That would mean version 26 July 2008. Maybe Archlinux have yet to fix something.
  • I wish I had something more to add here :)
Oh, And no screenshots for this post, Archlinux can look like anything you want it to look like but out of the box, it is as close to the original desktop environment, i.e. gnome or KDE.

For those who love KDE, version 4.1 is a command away.

An Overview of freely available word/document processing tools.

Sometimes we fail to notice things right beneath our nose. And in case of document preparation, people often don't utilise the features of their tools well. Simple techniques like using numbered lists are often not used -- numbers are manually entered after hitting the tab key.

What are the tools available to prepare a good document?

Command line/non-WYSIWYG tools
  1. TeX/LaTex
  2. ConteXt
  3. Lout
The above software needs the user to learn some sort of control code. You have to know exactly what you want, and define it using the language. (La)TeX has a has a lot of documentation and support from many universities like Cambridge and publishers like Springer. I have at least two books in my bookshefl which have been typeset using LaTeX. ConTeXt is based on TeX and provides a single package that can do almost any typesetting including interactive pdfs. This is not the case with LaTeX where you use packages to add functionality.

Lout isn't all that common but packs a lot of functionality in a small program. It can do a lot of neat stuff, like boxes over and above providing features enough to typeset basic documents. Its syntax is a bit different from (La)TeX and uses the '@' symbol to denote the beginning of a command which looks a little messy.

There are numerous instances of people mentioning these tools as old, outdated, and difficult to use. And to be quite frank, they are intimidating to a new user who seeks to use the mouse rather than the keyboard, and draw and visualise while creating.

WYSIWYG software
There is only one DTP application for typesetting and document layout: Scribus. Although Scribus has received a lot of possitive reviews, I find that the software tends to be sluggish and not so easy to use. It has a decent feature set which is capable of layout of most documents. Someone who needs to layout a newspaper or a booklet may do well with Scribus.

Then come the word processing software applications. Abiword and OpenOffice writer are a natural cross platform choice. Infact, all of the software mentioned in this post are crossplatform, i.e. they run on Windows, Linux and OS X.

Abiword is ideal when you have less complexity and need something small and quick. OpenOffice does a good job in the heavy-weight category. OpenOffice Writer can be used well to provide good looking documents if the correct options are set but can look quite bad when wrongly used.

Although some features of typesetting like ligatures, true small-caps and opentype features are not available in word processors, there are some interesting techniques to make OpenOffice writer produce documents similar to LaTeX by setting larger margins, hyphenation, font choices, and more, which I hope to explore in depth.

A software worth a mention which provides the power of LaTeX to the average Joe is LyX. Although it is not really WYSIWYG, it comes very close and can be used to typset simple articles to long books.

P.S. I'm not going to write on Docbook and other XML based options.

11 August 2008

Deleted Blogspot blogs are now deleted forever?

Looks like its going to get even more difficult to find an unused url on bloggers blogspot as deleted blogs have a new status: Deleted and unavailable. It is kind of sad since blogspot.com is the only doman they offer which is already full of dead blogs using up a lot of the useful names. I though that I read somewhere that you could ask a user to delete a blog so that you can use the url, but it seems that may not be possible any longer.

Try out Cuil directly from firefox.

There is a new kid on the search engine block: cuil It may well turn out that the new kid may be younger, faster and smarter that ol' boy GOOG. We have to keep searching to know which is better, and to make it even simpler, add cuil to your firefox search.
Simply log on to the cuil website and click on the arrow next to the 'G' in your search bar(top right of your firefox window) as shown below.

 
 And click on Add "Cuil" to complete the process. Now whenever you wish to compare Big G and Cuil, it is a click away. 
P.S. It does not seem to work under Flock. You can make a search on any topic and look at the bottom of the page to "Add to firefox"

DataOne assigns odd IP-addresses?

While using the aMule P2P application, it gave me a low ID. It said that the eDonkey servers give low IDs to IP addresses ending with 0, i.e. XXX.XXX.XXX.0 I did not think that DataOne assigned such IPs, so I checked in my router interface, here's a screenshot.

21 July 2008

Facebook with a new look?

Facebook has been testing a new look and feel. The new interface utilizes more screen area and is more intuitive but the aesthetics remain the same. Below is a screen shot. If you want to see it live, log on to http://www.new.facebook.com

 
 

09 July 2008

aTunes -- a Free Cross Platform audio player that rocks

It is that everyday that I would be found praising a java application. But a few days back I came across a set of audio players that changed this bias. Applications like utorrent and deluge make java applications like Vuze(azureus) seem outrageously slow and bulky. I must admit that I found jajuk before finding a link to aTunes from their website. I found that although jajuk has a bit more eyecandy more "ideas" like ambience and DJs, wikipedia lookups and more, I feel lost with those features and find them to be of no use. I found that aTunes was quick to start, not much of a resource hog and provided with all the features I ever found useful in an audio player except for one -- integration with my Instant Messenger status. A screenshot of the application is below -- similar screenshots are available on the aTunes website, but I am too tempted to post a screenshot.
I can summarize some of the features and pros:
  • audio scrobler, last.fm integration.
  • internet radio support.
  • cover art grabber.
  • lyrics finder.
  • podcast support.
  • random playlist generator -- also can generate playlists of media that you haven't ever listened.
  • statistics.
  • tray icon and tray controls.
  • totally crossplatform, all features work on Windows and Linux as well
  • Free GPL license, source code is bundled and also can be downloaded through svn and done easily thgough eclipse/subclipse.
  • OSD and some nice bundled themes.
  • grab and convert your audio CDs to mp3/ogg/aac.
Some of the stuff I didn't really care about/cons:
  • Although I don't use portable media players, I think that READ ONLY access is a limitation.
  • I would like an integrated shoutcast directory or a way to single click add to the internet radio from firefox.
  • No magnatune and jamendo support.
If you use linux, you may be tempted to use amarok or exaile or rhythmbox, but in the windows world, this application can really fill the gap. P.S. I did not review jajuk as I prefered something simpler -- it has too much stuff I will never use. Also, it was more resource hungry and the multiplatform installer installed 3 shortcuts in my menu. I did like the jajuk website more since it is much more developer friendly. Both applications use the same base and look very similar initially.
ss_blog_claim=7a9f7c14e617e5bf15426c5526e0afda