HNHacker News
TopNewBestAskShowJobs

dc2

541 karma · joined May 23, 2015

submissionscomments
dc2··on Google Metronome
False. It works on my Desktop.
dc2··on Ask HN: Middle of project, side project raised money, what do I do?
Can you just get in honest communication with the company and discuss the problem? Perhaps arrange an official agreement that absolves you from this risk in exchange for the completion of your present project.
dc2··on Show HN: GitHub News, using a peak detection algorithm to detect trending repos
Thanks! I was trying to find my repo, which trended about 15 days ago :)

Otherwise, it looks really good, and the algorithm results are refreshing.

dc2··on Show HN: GitHub News, using a peak detection algorithm to detect trending repos
Rate Limit Reached:

You have reached the Github anonymous user limit, please login with your Github account to continue.

Oof. I was just scrolling down the front page.

---

Edit: After I signed in, I got a bit lower, then got the same message again (telling me to sign in)!

Make / break suggestion: File the stats on a local server. Don't expect the user to query Github or you're going to drop fans fast.

dc2··on Ask HN: I'm thinking about creating 'Oscar' for IT. What do you think?
The idea is fine, however you're going to have to start it from some point of influence, along with a marketing strategy to get widespread agreement, or it will just be one more thing that no one has heard about and wining such an 'oscar' would be meaningless.
dc2··on The New Mind Control: How the Internet Flips Elections and Alters Our Thoughts
"Google and its top executives donated more than $800,000 to President Barack Obama and just $37,000 to his opponent, Mitt Romney."

Did you just Alter My Thoughts? How much of that $837,000 was Google versus its top executives (based on their personal preferences)?

dc2··on Cash: a cross-platform implementation of Unix shell commands in JavaScript
It would be mysterious if I didn't understand Node. Node hasn't mysteriously failed me yet. Looks like you're just sour with a little too little actual data.
dc2··on Cash: a cross-platform implementation of Unix shell commands in JavaScript
The readme covers this (check near the bottom).
dc2··on Cash: a cross-platform implementation of Unix shell commands in JavaScript
Thank you. :)
dc2··on Cash: a cross-platform implementation of Unix shell commands in JavaScript
Do you know what specs I used to write Cash? ^ look at the link two parents up.

Do you know how long I spent working on getting the specs right in Cash? Cash isn't perfect, but it took me months of "discipline" before I would let myself do even the initial release, which is `v0.1.0` btw.

dc2··on [dead]
"In particular, their HR department is engaging in what is nothing less than race warfare against white people."

This is a total exaggeration. And I'm white.

dc2··on Cash: a cross-platform implementation of Unix shell commands in JavaScript
With Cash :)
dc2··on Cash: a cross-platform implementation of Unix shell commands in JavaScript
Okay thanks - no problem.
dc2··on Cash: a cross-platform implementation of Unix shell commands in JavaScript
Some aren't that fortunate and have to work on Windows environments at work.
dc2··on Vorpal, a framework for building CLIs
I get you. Yes, it does combined readline and optparse-type functionality. It's similar to Commander.js, with the exception that you have the option of staying in the "shell" after the first command executes, and then it is its own environment with its own commands.

On piping, I hard coded those to keep it short. Every single command can receive "args.stdin", which is a stdin stream from previous commands. To pipe out, the "this.log" command does all of the heavy lifting.

So all you would need to do is expect both "args.stdin" and "args.words" - that would cover input both from a directly executed command as well as stdin. This works very well in practice.

dc2··on Vorpal, a framework for building CLIs
I see that point of view - that makes sense.
dc2··on Vorpal, a framework for building CLIs
Thanks man!

Yeah, it's got stdout piping methods, etc. which make it easy. It's also got UI manipulation methods so you can simulate user action. I haven't particularly had any trouble writing tests, but really it depends on your use case, which I'm not familiar with.

dc2··on Vorpal, a framework for building CLIs
* Cash isn't released yet - that's why there's no GH repo. That's my next pjt :)
dc2··on Vorpal, a framework for building CLIs
I can understand that. Fortunately, Node is becoming huge in terms of CLI - there's a ton of really useful CLI apps for all kinds of things. To the point where it becomes advantageous to have NPM installed, Node developer or not. At that point, installation of a CLI app is easier and more uniform than many other methods. My 0.02.

My purpose in writing Vorpal is to make building CLIs accessible to a wider audience. While haters will hate JS, it nevertheless has a very broad use and accessibility.

dc2··on Vorpal, a framework for building CLIs
Got you covered. Extensions, extensions. Guess I should have advertised that in the site.

https://github.com/vorpaljs/vorpal-autocomplete-fs

dc2··on Vorpal, a framework for building CLIs
True. Though in Node, you can make calls to standard programs, so it can act pretty seamlessly. And there's already a lot of direction towards supporting a lot of familiar methods and more. Like this: https://www.npmjs.com/package/cash
dc2··on Vorpal, a framework for building CLIs
Yes, Meow is an excellent tool.
dc2··on Vorpal, a framework for building CLIs
Author of Vorpal here. You can ask me Qs if you'd like.
dc2··on [dead]
I can see that, but it really depends on your use case. There are many instances where this can come in handy. But perhaps I can re-work the wording!
dc2··on Ask HN: Uh, what's the thin black line across the top?
Thanks.
dc2··on T-Shirts Unravelled
Yes: this is actually amazing, thank you. I'm 6.5" and way 175 pounds. No. Shirts. Ever. Fit. Me.
dc2··on [dead]
2 people do not make a community.
dc2··on Flat Tree Dependency Resolution in Npm v3
When your actual Node .js file runs `require('a')`, it has no context to determine which version it is requiring. To expect Node to look for a package.json file at runtime is absurd. This presents a problem.
dc2··on [dead]
Thanks! Feel free to give it a ^ to help spread the word!
dc2··on [dead]
:) As you put, the primary reason is that Vorpal has a broader scope by itself, though Vantage is still very powerful.

Vorpal's already got a lot of cool use cases that wouldn't apply to Vantage, like this one:

https://www.npmjs.com/package/itunes-remote

← PreviousPage 3 of 4Next →