HNHacker News
TopNewBestAskShowJobs

sri

143 karma · joined February 21, 2007

submissionscomments
sri··on [dead]
Surely vitess (http://code.google.com/p/vitess/) would be one. Written by and for YouTube. (I haven't looked at that code too closely though.)
sri··on HTC 1
Would love to see a screen at the back also -- dual screens, if you will. That way I can have one app running on the "front" screen and another on the "back" screen.
sri··on Show HN: Review my startup: Quora, a topic based question and answer site
signed up. "Click on the best photo" showed me my profile photo (the same photo) 5 times.
sri··on The iPhone obsession
Please Don't Mistake My Apathy For A Lack of Understanding:

http://www.thisismobility.com/blog/2009/04/11/please-dont-mi...

sri··on Google Chrome 4 now natively supports Greasemonkey user scripts
I have a Greasemonkey script in FF (http://defcraft.blogspot.com/2009/02/greasemonkey-search-hel...) that'll google for the current selection in a background tab when ALT-G is pressed. And it uses GM_openInTab API call.

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··on HN comments bookmarklet: sort comments, marks new comments on reload...
Did this over the weekend. Hope it doesn't break things too badly!
sri··on [dead]
I use a Greasemonkey script: select & hit Alt-A, searches Amazon in background tab. Alt-G, google. Alt-Y, youtube. etc.
sri··on Does your company use Python? The Python Software Foundation wants to know.
how do we know it is by the python software foundation?
sri··on A Django Developer’s Views on Rails
ruby uses < (less than) for inheritance; also regular expressions start & end with / (slash). you have %W, %w for arrays and %q, %Q for string. things like "class << self ..." looks weird to those new to ruby. also stuff like "a ||= ...". and of course pre-pending '@' for instance variables and '@@' for class variables.

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··on Ask HN: I'm Tired of Hacking. What Do I Do? Please Advise.
Try something totally different. It could be a totally different technology: say Ruby on Rails or maybe Flex/Flash & Actionscript. How about becoming a designer? Something you have never considered before or never thought of as worthwhile. Something that brings back the "lightness" feeling you seem to be missing.
sri··on Ask HN: Why don't CPAN equivalents exist for every language/framework?
maybe because we now live in the google era -- easier/faster to just google it
sri··on Google's Numbers Every Developer Should Know
13th slide: http://cs343-spr0607.stanford.edu/materials/jeff_dean/

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··on Detailed review of MIT's OCW course "Introduction to Algorithms", Part I: Analysis of Algorithms and Asymptotic Notation
there is lots of content (mit open courseware, lectures from many universities in iTunes, free books being released online) available for self-learners.

is there a "virtual university/classroom" website that helps different people to study together?

something simple & free -- like craigslist.

sri··on Emacs' "old" regexp syntax
see rx.el in (i think) the emacs-lisp directory
sri··on Arc's Out
looks like pg in europe taking the picture of a old hotel from the outside
sri··on Ask YC: favorite books
The Art of Learning: A Journey in the Pursuit of Excellence by Josh Waitzkin (the movie Searching for Bobby Fisher was about him): talks about the higher stages of mastery. Amazon: http://www.amazon.com/Art-Learning-Journey-Pursuit-Excellenc...

sri··on Pmarca donates US$28 million to Stanford's hospital
very inspiring, pmarca! with your blog -- you have given a lot to the startup geeks! and with this, you have given something amazing to your local community. Thank you. and looking forward to your "fondest hope"!!!
sri··on Google's Achilles Heel
oops, accidentally clicked the down bar (making your comment 0 points) while scanning thru the newcomments section. sorry, can't seem to undo it :-( apologies!!
sri··on Auctomatic in open beta now
trying to confuse the competition? :-) (where XXXXXXX is the site name and YYYYYYY is the session id (?)).

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··on Python 3000 Alpha 1 Released
I made this http://defcraft.org/hacks/pycmds/pii.py to help define "commands" in the interactive interpreter. Commands like "ls" and "h os".

"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.)

sri··on What programming language should I start with?
Here are the languages that have big communities: Perl, Python, Ruby, PHP, Javascript, C#/VB.NET and Java.

Subscribe to lots of blogs from each community. (Many of them have planet aggregators like "Planet Python" and "Planet Ruby".) Also visit local user groups, wherever your are.

Read/visit them for a while -- say a month or two. Whichever community makes you go, "wow, that's cool" -- join that community and learn the language. You can also interact with those communities via Google Groups.

Lots of people will say -- "that's easy" or "this is elegant" or "that language sucks". Feel free to ignore them.

sri··on A way to find other Y Combinator readers in your area
there is no way to delete entries -- i created 3 by accident -- and also no way to delete entries when you don't want you location connected your username anymore.

sri··on Why is it hard to startup a company outside of Silicon Valley?
http://radar.oreilly.com/archives/2005/04/delcious_invest.ht...
sri··on What can you do with money?
Have fun!! Invest in yourself. Go back to school and major in something that you were slightly curious about but never got around to learning -- I'm sure there'll be a startup idea buried there somewhere...
sri··on Marc Andreessen: Best book for tech entrepreneurs this year
"And he's just written and published a book..."

It was published in 2005 -- that's what amazon says. Here it says it was published in 2006: http://www.cafepress.com/kandsranch.58024175

Also at cafepress it 29.99 and at amazon 39.99. A bug at Amazon?

sri··on A Case for Erlang
Why prove anything to anyone? Just build something cool, make $$$, move on, build something else cool and make $$$, ....

http://armstrongonsoftware.blogspot.com/2006/08/making-money...

sri··on YC startup Slapvid does P2P video from a browser
"This is way better that the Joost interface"

For when watching quick, short videos...

sri··on YC startup Slapvid does P2P video from a browser
Wow: the mouse becomes the remote control!

That's the way i watch TV -- next, next, next ..., OK interesting but next, OK i like...

This is way better that the Joost interface.... I just want a quick preview, but a even quicker way to get to get to the next one...

sri··on [dead]
nope didnt work
sri··on Jessica Livingston, Founders at Work author and YC partner, launches her new blog powered by Weebly
here is nice interview by wayne: http://pioneerit.blogspot.com/2007/04/my-innoview-with-wayne-crosby.html
Page 1 of 2Next →