• Projects
  • $(whoami)

Soliloquies

  • Squashfs in mainline kernel 2.6.29

    January 12th, 2009

    One thing I loved following the Linux Kernel development discussion is the wit of those “mutant super geniuses” and humorous dialogues exchanged between them.

    Though Squashfs has been in use for a long time – used by virtually every distro with a LiveCD, it wasn’t part of the mainline Linux kernel. The merge request came during the 2.6.29 merge window. It was found to be a ‘not much invasive’ code during the review, and finally pulled by Linus.

    And, look at the comments:

    • “Merge it! We have long needed a filesystem named after a vegetable” – Andrew Morton.
    • “You make a very compelling case.” – Linus Torvalds.
    • “And vegetables are much healthier than FAT…” – Alan Cox.
    • “I always preferred my squash with butter, it appears 2.6.30 will be a very tasty kernel.” – Harvey Harrison.

    😉

  • English-Malayalam Dict [RFC2229]

    January 1st, 2009

    When Santhosh Thottingal sent out the task to create English-Malayalam/Malayalam-English dictionary conforming to Dict Protocol, I didn’t care much. Just took a look and left it there. But later when he pinged and urged me to take it up – providing many required resources – I just thought I’ll take a look at it. And thus started scratching another itch.

    The Govt of Kerala is well known for its support for Free/Open Source Software. And they’ve been doing a pretty good job. But I was surprised when I got the link to an English-Malayalam Dictionary with a Python frontend. And the best part is this – it is GPL’ed.

    And I set out to convert the data found inside to suite to the Dict Protocol [RFC2229]. An ugly shell script turned out to be a nice one after 3 days of carving and craving.

    This is how it is done:

    1. Format the input file in the format :  {headword\n\tdefinitions}.
    2. Use dictfmt to convert to Dict format : dictfmt -f –utf8 -s Dict-English-Malayalam -u smc.org.in dict-en-ml < <input_file> && dictzip dict-en-ml.dict
    3. This will create two files dict-en-ml.dict.dz & dict-en-ml.index.
    4. Install “dictd“.
    5. Create folder “/usr/share/dictd” if it doesn’t exist.
    6. Copy dict-en-ml.dict.dz and dict-en-ml.index to “/usr/share/dictd“
    7. Create file “/etc/dict.conf” and edit it. Put “server  localhost” and save.
    8. Create file “/etc/dictd.conf” and edit. Put :      “database Eng-Mal  {data “/usr/share/dictd/dict-en-ml.dict.dz” \n\t index “/usr/share/dictd/dict-en-ml.index”}
    9. Start the dictd service by “/etc/rc.d/init.d/dictd start“
    10. Use your favourite dictionary frontend and lookup!

    And, here’s a preview as well:

    dictionary

    There’s still some more work to do, viz. incorporating the grammatical components (like Noun, Verb etc).

    We, at Swathanthra Malayalam Computing hope to release it soon, and even an RPM package as proposed by Sankharshan Mukhopadyay.

    Stay tuned.

←Previous Page
1 … 27 28 29

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
 

Loading Comments...
 

    • Follow Following
      • Soliloquies
      • Join 25 other followers
      • Already have a WordPress.com account? Log in now.
      • Soliloquies
      • Edit Site
      • Follow Following
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar