Humble request: musl version Keeping a glibc chroot directory takes up a fair bit of space, leaving less space available for other stuff. Whenever I try compiling Rust programs it exhausts the available space I have. Hence I am resorting to begging, starting now (because this program sounds potentially very useful.) Please folks, if possible, include musl versions in addition to glibc. :)
It's 2022 and you're running out of disk space?
Show HN: Jless, a command-line JSON viewer
71–80 of 91 posts
Re: Show HN: Jless, a command-line JSON viewer
#72This looks great. So far the only tools I have are: function jql() { jq -C "$@" | less -R ; } and an abuse of the preview feature in fzf room let you interactively write a jq query.
I don’t get to interactively change the query, but hitting ‘q’ and running another jq query is in some sense more powerful, because it does not just allow me to “focus the lens” but also completely alter it.
Building a jq query by progressively testing and viewing is really nice. I love jq!
Re: Show HN: Jless, a command-line JSON viewer
#73Glad I fought the reflex to jump straight into the comments with "So how is this different than jq" and instead actually clicked through to see the wonderful homepage that instantly answered my question via animated GIF. I'm a sucker for trying out any new CLI tool and this looks genuinely and immediately useful. Thanks!
Re: Show HN: Jless, a command-line JSON viewer
#74I'm loving it, and certainly will be using it a lot. One thing, though - 2MB seems like a lot for program of this kind. In comparison, jq on my system has 30kB.
I'll bet there are some Rust build options they can tweak to get it way down...
Re: Show HN: Jless, a command-line JSON viewer
#75Glad I fought the reflex to jump straight into the comments with "So how is this different than jq" and instead actually clicked through to see the wonderful homepage that instantly answered my question via animated GIF. I'm a sucker for trying out any new CLI tool and this looks genuinely and immediately useful. Thanks!
It's so good, it's convinced me to add asciinema recordings to more of my utilities. The only problem is that they tend to get stale.
Re: Show HN: Jless, a command-line JSON viewer
#76Earlier quoted context omitted.
It's so good, it's convinced me to add asciinema recordings to more of my utilities. The only problem is that they tend to get stale.
Clearly there should be integration tests/automation that outputs asciinema examples?
Re: Show HN: Jless, a command-line JSON viewer
#77Earlier quoted context omitted.
Clearly there should be integration tests/automation that outputs asciinema examples?
How do you mean? Is a log not basically the same?
Ed: like if you for a web app have selenium/browser tests that somehow also takes screenshots that become part of the documentation?
Re: Show HN: Jless, a command-line JSON viewer
#78Earlier quoted context omitted.
How do you mean? Is a log not basically the same?
I mean that if asciinema examples in the readme tends to get outdated (ed2: "stale") , they should be kept up to date via CI and (probably) be part of the integration tests; if a commit changes the ux/interaction tests should reflect that, and documentation should be easily (automatically) updated? Ed: like if you for a web app have selenium/browser tests that somehow also takes screenshots that become part of the do…
Re: Show HN: Jless, a command-line JSON viewer
#79Re: Show HN: Jless, a command-line JSON viewer
#80Earlier quoted context omitted.
It's 2022 and you're running out of disk space?
Yes, the same reason that programs remain slow, even though computers keep getting faster.