sri | 13 years ago
sri's comments
sri | 15 years ago | on: HTC 1
sri | 16 years ago | on: Show HN: Review my startup: Quora, a topic based question and answer site
sri | 16 years ago | on: The iPhone obsession
http://www.thisismobility.com/blog/2009/04/11/please-dont-mi...
sri | 16 years ago | on: Google Chrome 4 now natively supports Greasemonkey user scripts
Its equivalent in Chrome seems to be chrome.tabs.create. But when I tried that, I get this error: "chrome.tabs is not supported in content scripts". It seems that these "content scripts" aren't as powerful as extensions (http://code.google.com/chrome/extensions/content_scripts.htm...). Am I missing something here?
sri | 16 years ago | on: HN comments bookmarklet: sort comments, marks new comments on reload...
sri | 16 years ago | on: 5 Reasons I'm addicted to Chrome
sri | 16 years ago | on: Does your company use Python? The Python Software Foundation wants to know.
sri | 17 years ago | on: A Django Developer’s Views on Rails
also when i use regexps in ruby i then say "/re(g)ex/ =~ 'string' && $1". in python that would be multiple statements: "m = re.match('re(g)ex', 'string'); m.group(1)"
in python existing syntax (or more familiar syntax) is used to accomplish all the above.
sri | 17 years ago | on: Ask HN: I'm Tired of Hacking. What Do I Do? Please Advise.
sri | 17 years ago | on: Ask HN: Why don't CPAN equivalents exist for every language/framework?
sri | 17 years ago | on: Google's Numbers Every Developer Should Know
IIRC, this was a Stanford class, where they had invited a bunch of people to talk about software. The main site seems to be offline (http://cs343-spr0607.stanford.edu)
sri | 17 years ago | on: Detailed review of MIT's OCW course "Introduction to Algorithms", Part I: Analysis of Algorithms and Asymptotic Notation
is there a "virtual university/classroom" website that helps different people to study together?
something simple & free -- like craigslist.
sri | 17 years ago | on: Emacs' "old" regexp syntax
sri | 18 years ago | on: Arc's Out
sri | 18 years ago | on: Ask YC: favorite books
sri | 18 years ago | on: Pmarca donates US$28 million to Stanford's hospital
sri | 18 years ago | on: Google's Achilles Heel
sri | 18 years ago | on: Auctomatic in open beta now
looks great though!!
https://auctomatic.com/app/XXXXXXX_run.py?=YYYYYYYY
https://auctomatic.com/app/XXXXXXX?_main.asp=YYYYYYYY
https://auctomatic.com/app/XXXXXXX?_autoexec.bat=YYYYYY
https://auctomatic.com/app/XXXXXXX?_run.arc=YYYYYYYYYY
https://auctomatic.com/app/XXXXXXX?_dispatch.fortran=YYYYYYY
sri | 18 years ago | on: Python 3000 Alpha 1 Released
"ls" is a simple command -- invokes the Unix command "ls -l". A more complicated one: "h os" -- run help on the os module (just like "help(os)"). This is kinda tricky because "h os" is actually a syntax error in Python. When interactive, I catch syntax errors and see if they are user defined commands, in which case I execute the desired command. This works for Python 2.5, but shouldn't be too hard to port to Python 3.0.
I briefly looked at IPython, but that seemed to complicated for my needs.
(Also, http://defcraft.org/hacks/pycmds/strftime_helper.py uses the above file to help the user with strftime spec usage. I can never remember all the special characters.)