Friendica
daniel:// stenberg://
daniel:// stenberg://

daniel:// stenberg://

bagder@mastodon.social

daniel:// stenberg://

bagder@mastodon.social
I write curl. I don't know anything.
ActivityPub
2024-10-24 08:19:01 2024-10-24 06:17:12 2024-10-24 06:17:10 5842229

daniel:// stenberg://
daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

1 year ago • •

daniel:// stenberg://

1 year ago • •


When there is a graph, it can show what to work on. Exhibit A. #curl
#curl
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

[FAILED] Failed to start KATE.
mastodon - Link to source

[FAILED] Failed to start KATE.

in reply to daniel:// stenberg:// • 1 year ago • •
now i'm curious what kind of functions result in 3k loc?!
  •  Languages
  •  Search Text
  •  Share via ...
in reply to [FAILED] Failed to start KATE.

daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

in reply to [FAILED] Failed to start KATE. • 1 year ago • •

@kate a function that has a big switch() for over 300 options for curl_easy_setopt().

But not anymore.

@[FAILED] Failed to start KATE.
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

[FAILED] Failed to start KATE.
mastodon - Link to source

[FAILED] Failed to start KATE.

in reply to daniel:// stenberg:// • 1 year ago • •
ah makes sense, but then you probably were able to easily break it up, right?
  •  Languages
  •  Search Text
  •  Share via ...
in reply to [FAILED] Failed to start KATE.

daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

in reply to [FAILED] Failed to start KATE. • 1 year ago • •
@kate yeps
@[FAILED] Failed to start KATE.
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

in reply to daniel:// stenberg:// • 1 year ago • •
Exhibit B. Also #curl of course.
A graph that drops steeply at the very right edge
#curl
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Richard Hughes
mastodon - Link to source

Richard Hughes

in reply to daniel:// stenberg:// • 1 year ago • •
maybe the obvious question, but what did you use to generate the graph please?
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Richard Hughes

daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

in reply to Richard Hughes • 1 year ago • •
@hughsie pmccabe for getting complexity/function size data, git for getting the files from various tags over time, perl to glue it all together and then finally I gnuplot everything into SVG images
@Richard Hughes
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

in reply to daniel:// stenberg:// • 1 year ago • •

@hughsie the perl script: github.com/curl/stats/blob/mas…

the gnuplot scripts: github.com/curl/stats/blob/mas…

github.com/curl/stats/blob/mas…


stats/complexity.pl at master · curl/stats

Scripts for generating project statistics and for plotting them as graphs. - curl/stats
GitHub
@Richard Hughes
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Richard Hughes
mastodon - Link to source

Richard Hughes

in reply to daniel:// stenberg:// • 1 year ago • •
thanks! I'll play with those a bit later!
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Richard Hughes

daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

in reply to Richard Hughes • 1 year ago • •
@hughsie you'll see that I like generating a CSV file with the script that I then let gnuplot render the image from. It makes them two distinct steps that are easy to debug and work on separately.
@Richard Hughes
  •  Languages
  •  Search Text
  •  Share via ...
⇧