Live data from Hacker News

Show HN: A fast, dependency-free traceroute implementation in pure C

github.com

1–10 of 34 posts

Re: Show HN: A fast, dependency-free traceroute implementation in pure C

#3
I take issue with the Author section. You’re the only one listed. Shouldn’t you give ChatGPT credit, or even further afield, all the developers who wrote the code and answers that ChatGPT trained on to produce this, as far as I can tell, meaningless tool?

Re: Show HN: A fast, dependency-free traceroute implementation in pure C

#4

I take issue with the Author section. You’re the only one listed. Shouldn’t you give ChatGPT credit, or even further afield, all the developers who wrote the code and answers that ChatGPT trained on to produce this, as far as I can tell, meaningless tool?

ChatGPT isn't an author, so it shouldn't be listed. Instead, every single piece of human creation that's been sloshed and slurried to produce this drab drivel should be put as authors. That would be fair.

Re: Show HN: A fast, dependency-free traceroute implementation in pure C

#5
post #4

I take issue with the Author section. You’re the only one listed. Shouldn’t you give ChatGPT credit, or even further afield, all the developers who wrote the code and answers that ChatGPT trained on to produce this, as far as I can tell, meaningless tool?

ChatGPT isn't an author, so it shouldn't be listed. Instead, every single piece of human creation that's been sloshed and slurried to produce this drab drivel should be put as authors. That would be fair.

This only seems fair.

Re: Show HN: A fast, dependency-free traceroute implementation in pure C

#6
It used to be that if someone released a tool that's 700 lines of C, they probably had an actual need and a problem they solved by writing that code because debugging even that amount of C tends to be non-trivial.

Today all bets are off. Does the tool do anything anybody needed? Does it work? Who knows. It might just be 700 lines of convincing-looking C churned out by a model.

Re: Show HN: A fast, dependency-free traceroute implementation in pure C

#7
post #2

Is this vibe coded or is it just the readme that's AI-generated?

The commit messages (with dozens of semi- and unrelated changes in each commit) suggest so.

https://github.com/davidesantangelo/fastrace/commit/79d92744...

(For me, this does not necessarily say anything about code quality. However, if a whole project is AI-generated, the author has no enforceable copyright IMHO, and thus, the 2-clause BSD license is void.)

Re: Show HN: A fast, dependency-free traceroute implementation in pure C

#9
Honest question: why would this code clamp the reported round-trip time? By default, min = 0.05 ms and max = 800 ms [1].

           if (rtt  config.max_rtt)
                rtt = config.max_rtt;
Wouldn't this hide bugs in the code or network anomalies? Replies from localhost seem to typically arrive in less than 50 µs.

Comments in an earlier version [2] make no sense to me:

            /* Use standard timersub for more accurate results */
                    if (rtt  1000)
                        rtt = 1000;

[1] https://github.com/davidesantangelo/fastrace/blob/5b843a197b...

[2] https://github.com/davidesantangelo/fastrace/commit/79d92744...

Re: Show HN: A fast, dependency-free traceroute implementation in pure C

#10
post #6

It used to be that if someone released a tool that's 700 lines of C, they probably had an actual need and a problem they solved by writing that code because debugging even that amount of C tends to be non-trivial. Today all bets are off. Does the tool do anything anybody needed? Does it work? Who knows. It might just be 700 lines of convincing-looking C churned out by a model.

It could be a vehicle to learn about traceroute / ICMP.
Post reply on HN