misc 29 October 2010
    "How To Run A Command On Multiple Linux Boxes"

    Here's a handy way of running a command on multiple boxes. In this case I wanted to check disk space on a series of machines.

    Assuming you're using bash as your shell, the following will list the hostname and run df on machines racb13 through racb28 and spit out the …

    More
    misc 23 July 2010
    "Art"

    I don't know why but I'm seriously in love with this drawing from the six year old; it seems to have a real style. Better than anything I could draw, methinks.
    Desert Scene by Kamran

    More
    misc 04 March 2010
    "How To Be A Good Participant On A Panel: Disagree"

    Mark Suster and Fred Wilson have both posted on the topic of being a good panelist. I'll throw in the best advice I ever got on the topic (from Alex, who got it from someone else):

    Disagree with other panelists.

    A panel of people agreeing with each other is generally …

    More
    misc 19 February 2010
    "Django: Using The Permission System"

    I was surprised at how little information I found on making use of Django's permission system. Here are some quick notes on one way to use it:

    Groups are groups of users. For example, you could define a group of users who have premium accounts, or have been verified in …

    More
    misc 31 January 2010
    "Hyper Competitive Sleep Losing Entrepreneurs?"

    I remarked to a friend that Mark Suster's entrepreneurial roots show in his approach to being a VC - he's come out of nowhere and in short order aggressively pushed himself into being one of the most relevant voices out there. He seems to be working a lot harder than …

    More
    misc 24 January 2010
    "Django-mptt: Tree Storage in Django: A Brief Overview"

    django-mptt is a library for storing tree oriented data using the Django ORM. It allows you to place your model instances into a tree structure and efficiently query for ancestors and children.

    Here's a brief tutorial on how to use it:

    After installing, you'll need to modify your model to …

    More
    Fantastic Mr. Fox: See It


    I'm a big fan of Fantastic Mr. Fox. We just watched it again and it was a hit with everyone from the 2 year old to grandma.

    The dialog an voice acting are excellent, and the animation is really refreshing. The story is smart and is different enough from your …

    More
    misc 09 January 2010
    "Feels Like A New Stage Of The Web"

    I was doing some log analysis this morning and was struck by the variety of user agents accessing Xpenser. Quite a bit of mobile access with quite a variety of different browsers, as well as some more exotic items (various tablet PCs I don't recognize, etc).

    Then there's the API …

    More
    misc 08 January 2010
    "Move Files Older Than X Days To Another Directory"

    Here's a little script for finding files modified more than 7 days ago and moving them to another directory:

    find . -type f -mtime +7 -print > /tmp/old_files.txt
    cat /tmp/old_files.txt | while read line; do mv "$line" ../old_files ; done
    

    More
    misc 15 November 2009
    misc 28 October 2009
    "How To Enable Vi Syntax Highlighting In Ubuntu"

    Note to self, as I seem to need to do this on every new install:

    Ubuntu ships with vim-tiny, which doesn't support syntax highlighting. Do this:

    sudo apt-get remove vim-tiny
    sudo apt-get install vim
    sudo vi /etc/vim/vimrc
    ( Remove the quote mark from the "syntax on" line, uncommenting it …

    More
    misc 17 October 2009
    "The Power of Stories In Shaping Views of Cultures"

    Impressive Ted Talk by Chimamanda Adichie on how stories, and in particular "single stories", shape our views of cultures. Many parallels with how people typically see Iran.

    A great quote from the talk: "The problem with stereotypes is not that they are untrue - it is that they are incomplete".

    More
    misc 11 October 2009
    "Eclipse + PyDev : I Recommend It"

    I used to be a vi guy who finally made the move to graphical editors. I looked for the simplest, lightest possible solutions, using ConTEXT for quite a while.

    Some years ago I was forced into using Eclipse for reasons I can't quite recall; probably Java development. I didn't like …

    More
    misc 11 October 2009
    "How Interviewing Job Applicants Has Changed"

    I'm noticing how much the practice of finding a candidate and interviewing them has changed over the years.

    First step is to look up the person on the web. Since I'm looking for a technical person I'm expecting a blog, contributions to open source projects, a twitter presence, etc. If …

    More
    misc 28 September 2009
    "Yahoo Mail WTF?!"

    I still have a big soft spot in my heart for Yahoo, but Yahoo mail, WTF?

    Yahoo Mail WTF?

    Of the entire screen only the area I've highlighted in orange is dedicated to the contents of the message. And this is with the app maximized to full screen.

    The interface is unusable as …

    More
    misc 16 February 2009
    "What Should I Read Next?"

    I was thinking about what book to read next and it occurred to me to ask you nice people. I'm in the mood for something factual but interesting - something like The Prize, if you're familiar with that. I was intrigued by Fiasco but I haven't looked into it.

    So what …

    More
    misc 13 February 2009
    "Another Python Convert"

    Looks like I've finally converted Alex to Python as well. "This is actually shorter than perl and still makes sense". Be forewarned - if you code with me, you'll be doing Python in no time.

    More
    misc 13 February 2009
    "Ctrl-Q, My New Favorite Eclipse Hotkey"

    Due to aforementioned OS X stupidity with the Home and End keys, my new favorite Eclipse hotkey is Ctrl-Q. It takes you to the location of your last edit. So next time you hit the End key to go to the end of the line but end up at the …

    More
    misc 03 February 2009
    "San Jose San Fran Next Week, Drop Me A Line If You Want To Meet"

    The title pretty much says it; I'm planning an SJC/SF trip next week, if you want to meet or chat drop me a line - Darugar at gmail.

    More
    misc 01 February 2009
    "On Concurrency, Threads, and Python"

    Nice and detailed article from Jesse Noller on concurrency, threads, the GIL, and Python. Worth a read; I learned a lot from it.

    For the record I'm one of the people who doesn't think threads are not the true solution to the concurrency problem.

    More

« Page 2 / 12 »