Better HN
topnewbestaskshowjobs
Log inSign up

lijunhao

577 karma · joined Feb 26, 2024 (2y ago) · 178 submissions

Submissions

comment 1y ago · link · parent

Thank you.

1. In its early development, `x-cmd` was designed to integrate its modules directly into the shell's namespace. This approach meant that common commands, such as `ping`, could potentially be overridden to run `x ping`, leading to conflicts and behavior. 2. Recognizing these potential issues, we decided to retain the `x` prefix for all `x-cmd` commands. This ensures clarity and prevents namespace pollution. The `x` is intentionally short and acts as a dedicated namespace for `x-cmd`'s features.

I think this will provide a kind of flexibility for our users. Users could try something new or interesting using x-cmd script. But if these sripts fail, users could alway return to the mature original command and finish the tasks.

Future versions of `x-cmd` will introduce a comprehensive cross-shell shortcut configuration system, empowering users to easily manage their personalized command shortcuts.

comment 1y ago · link · parent

1. X-CMD is a shell library. `install` and `pkg` are just one module in this shell library. X-CMD also uses shell scripting to enhance interaction with `pixi` and `asdf`, these work are also encapsulated into an invidual module.

2. All X-CMD code is hosted on the `main` branch. You can find direct links to each module's source code by browsing the modules section on our website: https://x-cmd.com/mod/env.

3. As a team based in China, we are continuously working to improve our English documentation. Our current priority is to first refine the Chinese documentation, which will then serve as the foundation for more accurate and comprehensive English translations.

4. All of the packages managed by x-cmd team, we collect them from developer official sources. Not maintained by third party contributors.

comment 1y ago · link · parent

I'm curious if anyone is actively using it, and want to know more about use cases and advantage. Thank you.

4.

Is anyone using the Gemini protocol (not Google's Gemini)(github.com ↗)

5 points · by lijunhao · 1y ago · 1 comment

comment 2y ago · link · parent

nexttrace provide the geolocation information of IP in the output.

BTW, the author also enhance the nali project (nali-nt) to add geolocation information to mtr output.

mtr -n4 tj.189.cn | ./nali-nt_linux_amd64

https://github.com/nxtrace/nali

comment 2y ago · link · parent

I understand your concern and have consulted with the author.

When using the Nextrace API for IP geolocation, Nextrace performs Proof-of-Work (PoW) authentication first. Therefore, the website counts only these authentication requests.

Consequently, the statistics do not include requests using other IP APIs.

7.

Kyanos: eBPF-based network issue analysis tool(github.com ↗)

194 points · by lijunhao · 2y ago · 14 comments

8.

NextTrace: An open source visual route tracking CLI tool(nxtrace.org ↗)

29 points · by lijunhao · 2y ago · 11 comments

9.

Mosh helps Iain Learmonth escape from an elevator (2012)(mosh.org ↗)

3 points · by lijunhao · 2y ago · 1 comment

comment 2y ago · link · parent

Cross-platform shell scripts that enhance the `ping` command with visual output for Windows, macOS, and Linux.

11.

Show HN: Ping visualization in terminal with heatmap and barchart(x-cmd.com ↗)

2 points · by lijunhao · 2y ago · 1 comment

12.

Interactive TUI program that displays time across the time zones(github.com ↗)

1 points · by lijunhao · 2y ago · discuss

13.

Yet another AppImage – based upon proot(github.com ↗)

1 points · by lijunhao · 2y ago · 1 comment

14.

Show HN: Cookbook for the Mistral AI CLI – Practical Examples and Recipes(github.com ↗)

3 points · by lijunhao · 2y ago · discuss

15.

Curta: Hand-Held Mechanical Calculator(en.wikipedia.org ↗)

2 points · by lijunhao · 2y ago · discuss

16.

3D-Printed Strandbeest [video](youtube.com ↗)

1 points · by lijunhao · 2y ago · discuss

17.

CWE (Common Weakness Enumeration) data source(cwe.mitre.org ↗)

2 points · by lijunhao · 2y ago · discuss

18.

Nougat – Pdf to Markdown(github.com ↗)

2 points · by lijunhao · 2y ago · 1 comment

19.

Scoop Reimplemented in Rust(github.com ↗)

1 points · by lijunhao · 2y ago · discuss

20.

Online dictionary for dragon language of the Elder Scroll(thuum.org ↗)

1 points · by lijunhao · 2y ago · discuss

21.

Vrnetlab: Emulate networks using KVM and Docker (2019)(brianlinkletter.com ↗)

1 points · by lijunhao · 2y ago · discuss

comment 2y ago · link · parent

Awesome ~

It seems containerlab use https://github.com/vrnetlab/vrnetlab, which is also a network lab based upon container technology.

I am wondering the diff between containerlab and vrnetlab ~

23.

Network Lab in Container(containerlab.dev ↗)

2 points · by lijunhao · 2y ago · 1 comment

comment 2y ago · link · parent

I am not very familiar with rg. This is only an experiment. We will provide a shorter subcmd for --fzfapp later.
123456