Live data from Hacker News

Show HN: Redirect stdout to EtherPad

github.com

1–10 of 12 posts

Re: Show HN: Redirect stdout to EtherPad

#2
One use of this which came to mind is tailing log files or watching the ongoing output of a process.

Are there any limits on how big a pad can get? Are there issues with scrolling when the content gets to the bottom? I haven't run EtherPad in a while, so don't remember.

There's a project called Log.io (http://logio.org:8998/) which does streaming and scrolling for events which ends up feeling a bit similar. Not sure if you can pipe stdout to it though.

Very interesting!

Re: Show HN: Redirect stdout to EtherPad

#3
I thought I'd browse the source code and find a cool tool that does this using basic unix commands and syscalls. But then:

    #!/usr/bin/env node
facepalm. And since the code uses an etherpad dependency, it is completely trivial. How is this HN-worthy?

Re: Show HN: Redirect stdout to EtherPad

#4
post #3

I thought I'd browse the source code and find a cool tool that does this using basic unix commands and syscalls. But then: #!/usr/bin/env node facepalm . And since the code uses an etherpad dependency, it is completely trivial. How is this HN-worthy?

Because it's an interesting idea. It doesn't have to have a hardcore implementation to be HN-worthy.

Re: Show HN: Redirect stdout to EtherPad

#6
post #3

I thought I'd browse the source code and find a cool tool that does this using basic unix commands and syscalls. But then: #!/usr/bin/env node facepalm . And since the code uses an etherpad dependency, it is completely trivial. How is this HN-worthy?

How is this trivial? It's unique, I have never seen anything like it.

Also, why would he make it harder for himself than necessary? I'd like to see your shell/C++/asm implementation

Re: Show HN: Redirect stdout to EtherPad

#7
post #3

I thought I'd browse the source code and find a cool tool that does this using basic unix commands and syscalls. But then: #!/usr/bin/env node facepalm . And since the code uses an etherpad dependency, it is completely trivial. How is this HN-worthy?

Honestly, I wasn't too worried about making something complex - I wanted to write something quickly that would work reliably.

Yes, it's trivial to write. But it fulfilled a need that we had, and getting something useful released rather than building something needlessly complex is, from what I understand, everything that HN is about.

Re: Show HN: Redirect stdout to EtherPad

#8
post #3

I thought I'd browse the source code and find a cool tool that does this using basic unix commands and syscalls. But then: #!/usr/bin/env node facepalm . And since the code uses an etherpad dependency, it is completely trivial. How is this HN-worthy?

How is this comment HN worthy? It brings no valuable knowledge to the discussion, and discourages the sharing of novel ideas. The code may be trivial, but the idea certainly is not.
Post reply on HN