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
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
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
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
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 …
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
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
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
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
Yet another Scoble post on a facebook accounts being closed, this time with the iFart app author.
Facebook is like Disney Land. It's a nice and enjoyable place, but it has its own special governance. It can decide when to let you in and when to throw you out.
Inaugration day, and I missed just about all the festivities. One thing did stand out for me: the text of the Oath of the Office of the President:
"I do solemnly swear that I will faithfully execute the Office of President of the United States, and will to the best …More
Queues are nice things. We should be using more of them.
A couple of benefits that I knew of but didn't really appreciate until Alex started using beanstalkd in his application:
- Having a worker-pulls-jobs-from-queue model provides near optimal use of the machine and prevents overload and thrashing. Setup as many …More