Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderI hope the $ interpolator at least performs escaping instead of blindly concatenating shell scripts? Ah, who am I kidding. https://github.com/google/zx/blob/5ba6b775c4c589ecf81a41dfc9... function substitute(arg) { if (arg instanceof ProcessOutput) { return arg.stdout.replace(/\n$/, '') } return arg } // […] let cmd = pieces[0], i = 0 for (; i < args.length; i++) cmd += substitute(args[i]) + pieces[i + 1] for (++i; i < pieces.length; i++) cmd += pieces[i] Sigh… yet another code injection vector. And to think the…
It looks like people don’t get it. This isn’t “better” than your tool of choice. This is a tool for JavaScript developers to write non-trivial scripts in a portable way without getting lost in POSIX hell. Who came up with this stuff? https://stackoverflow.com/a/13373256 If you can write shell code, Perl, Python, COBOL, suit yourself. This is for JavaScript developers in JavaScript projects.
this looks neat but zero docs
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 556
- Total comments
- 320
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2021-05-06 | A package for writing scripts on JavaScript instead of Bash | medv | 2 | 0 |
| 2021-05-07 | JavaScript for Shell ScriptingFirst breakout · Best thread | gigel82 | 385 | 181 |
| 2023-01-15 | ZX-shell: write JavaScript/TS+Bash scripts that download their dependencies | nathan_phoenix | 3 | 0 |
| 2024-01-07 | Zx: A tool for writing better scritps | nateb2022 | 4 | 2 |
| 2024-02-10 | ZX – A tool for writing better scriptsHall induction · Latest 20+ point return | AbuAssar | 162 | 137 |
