Live data from Hacker News

Ask YC: Review my app (pycmds, a web-based command line)

pycmds.org

31–33 of 33 posts

Re: Ask YC: Review my app (pycmds, a web-based command line)

#31
post #10

It's DOM-injectable: http://www.pycmds.org/#albums%20by%20 ['foo']%22%20onclick=%22alert(1)%22 It gives me Python stack traces on most funky commands.

The stack traces are intentional. Since it's an open source project, I figured I would make debugging as easy as possible.

As for the DOM injection, I will look into that after I have fixed the major bugs.

Re: Ask YC: Review my app (pycmds, a web-based command line)

#32
post #26
post #13

Earlier quoted context omitted.

Thanks for asking :) Adding the brackets greatly simplifies things for the implementation of the command dispatcher/suggester. In addition, in some situations it can be difficult tell what part of the command is an input and what isn't. For example, let's say a user intends to use the command: translate [text] to [language] They type: translate hey buddy! i found this neat guide to japanese There are two ways to inte…

Read the curses library implementation. You might find it useful.

Hi :] What part of it would be useful?

Re: Ask YC: Review my app (pycmds, a web-based command line)

#33
post #3
post #2

The auto-suggest gets annoying because it's always displayed. You should only display it when you have a partial match. This query crashes the site: http://www.pycmds.org/#youtube search for miley

I should mention somewhere that the inputs should be surrounded by square brackets. Try this: http://www.pycmds.org/#youtube search for [miley] The auto-suggest is supposed to only display partial matches like you said. What browser/operating system are you using?

Or you should make it so inputs don't need to be surrounded by square brackets.
Post reply on HN