Live data from Hacker News

Ask HN: As a Developer, what API would you like to use, but does not exist?

news.ycombinator.com

21–30 of 37 posts

Re: Ask HN: As a Developer, what API would you like to use, but does not exist?

#22

Earlier quoted context omitted.

Is this for the US, or any arbitrary country? Does it take the country as a param?

if you have to ask - you won't get far. They told you what they want - now go build something in your vision. Once you have users they will tell you what they want.

What are you talking about? I am just finding out what people want.

It's not my vision.

And, besides that, I already launched the service. That's pretty far for 1 day.

Re: Ask HN: As a Developer, what API would you like to use, but does not exist?

#23
post #16

Earlier quoted context omitted.

if you have to ask - you won't get far. They told you what they want - now go build something in your vision. Once you have users they will tell you what they want.

Seems far more sensible to me to gather more information from the original idea giver before going off to build something.

Thanks. I thought that is the job of a developer or even a "hacker", as the case may be.

Re: Ask HN: As a Developer, what API would you like to use, but does not exist?

#25
post #8

an api to control gdb, bash. a real time stock price api.

Do you mean GNU Debugger? Is the debugger running on your machine? How would the API work? How would an API control Bash? Is the Bash shell running on your machine? Regarding a real time stock price API, I thought of this as well. I will look into it. If I can find a good source of data this seems like a great feature.

because I'm creating a terminal emulator for bash. and I realized that there is no way to communicate with bash other than sending and receiving text.

if bash supports an api to send and execute command and query for states. that will make many things easier.

for example, query for the current location "pwd". many terminal emulator just send this command and parse the returned string and hide it from the user.

if bash supports an api for you to directly query for this information, the terminal enumerator can be implemented cleanly.

for gdb, I want to understand a code by generating flame graph like execution history.

for that I want to step over each line of the program and dump a call stack. gdb has python support within it, but it doesn't seem to provide an api to control it from the outside.

Post reply on HN