Archive

Author Archive

Life as a Desi in the bay area

December 24th, 2009 arun No comments

Are you looking to study the life of the Indian community in San Francisco bay area? Look no further than this thread!

Categories: General Tags:

Mailman list management: Flip nomail bit

December 19th, 2009 arun 2 comments

Due to a server side misconfiguration, outgoing mails were bouncing for sometime. I identified the culprit to be:

/etc/hosts:

::1			localhost localhost.my.domain

After I fixed it, there was more collateral damage. A large number of subscribers were marked as “nomail” (i.e. delivery disabled due to excessive bounces). I didn’t see an easy way of mass enabling the delivery. So I wrote this little script.

#! /usr/local/bin/python2.6
#
# Copyright (C) 2009 Arun Sharma 
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

""" Flip the nomail bit for all members of a list. """

import sys
import paths
from Mailman import MailList
from Mailman import Errors
from Mailman import MemberAdaptor

def main():
    listname = sys.argv[1].lower().strip()

    try:
        mlist = MailList.MailList(listname, lock=True)
    except Errors.MMListError, e:
        print >> sys.stderr, _('No such list: %(listname)s')
        sys.exit(1)

    # Get the lowercased member addresses
    rmembers = mlist.getRegularMemberKeys()
    for addr in rmembers:
        status = mlist.getDeliveryStatus(addr)
        if status <> MemberAdaptor.ENABLED:
            mlist.setDeliveryStatus(addr, MemberAdaptor.ENABLED)
            print >> sys.stderr, 'Enabled delivery for: %s' % (addr)
    mlist.Save()
    mlist.Unlock()

if __name__ == '__main__':
    main()

Enjoy.

Categories: Open Source Tags:

Honda Odyssey engine mounts

November 30th, 2009 arun No comments

In spite of a large number of problem reports, Honda doesn’t seem to be doing anything about it.

My dealer hit me with the same problem on a 2004 odyssey with 70k miles.

Categories: General Tags:

Acer 1410: BIOS upgrade solves windows 7 problems

November 18th, 2009 arun No comments

Typical problem: disk storms after sleep/wakeup, slow startup and generally weird behavior from windows7 after the vista to w7 upgrade. Looks a lot better after upgrading the BIOS from 31xx to 3302.

Categories: Gadgets Tags:

Router firmware

October 21st, 2009 arun No comments

I wonder why folks like Buffalo even bother to write their own firmware. They should just ship their stuff with DD-WRT and save us a bunch of pain.

I made the mistake of trying to use their web GUI and spent 1.5 hours which I could’ve spent with my kids instead.

Categories: Gadgets Tags:

Acer 1410: My new “netbook killer”

October 10th, 2009 arun No comments

Categories: Gadgets Tags:

Chinese make bigger bubbles

August 30th, 2009 arun No comments

compared to Indians. Shanghai composite is down 5% today.

From Drop Box
Categories: Economy Tags:

Gabbar singh speaks kannada?

August 29th, 2009 arun No comments

Noticed this when watching a Sholay (1975) song today:

From Bengaluru
Categories: India Tags:

Bhuvan by ISRO

August 23rd, 2009 arun No comments

It’s been a couple of weeks since ISRO’s Bhuvan was announced. While it seems to have crappy accessibility and usability (I didn’t install it because of the accessibility issue) – it got a lot of PR in the India press. As usual, none of them include a URL! This also meant that none of the search engines can find it and some guy with an Ad sense account is profiting from the queries.

So search engines take note: Bhuvan by ISRO

Categories: India, Technology Tags:

Bi-monthly mortgage payments

August 17th, 2009 arun 1 comment

You’re probably not alone if you got the marketing literature about the “bi-weekly payment plan” and how its going to save you a boat load of money. Since I didn’t want to deal with a third party – I tried to do this through my bank’s bill pay service.

For some strange reason, the mortgage vendors want to block this and make you go through their advertised plan. Their standard party line is: we don’t apply partial payments. You have to go through the hassle of calling customer service and opening tickets to combine the two half payments into one.

Sigh. I’ll be going back to my regular monthly payment plan. This was Citi Mortgage.

Categories: General Tags: