mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

#curl

15 posts9 participants0 posts today
Replied in thread

@jayalane Code often incorporates a lot of experience that are hard to port over to another language. This is why even Rust language creators don't recommend RiiR and created good FFI mechanisms instead.

Rust is an easy choice for new projects or pieces of a modular project. But some people do push it. I've seen the #Curl developer being asked to rewrite it in Rust - without recognizing how impractical that is.

#curl predecessor httpget 0.2 from around 1996/1997 is 165 lines. Needless to say, it has multiple critical security vulnerabilities. How many can you spot?

If you build it on a modern system and want to try exploiting it in true 90s fashion, be sure to turn off address space layout randomisation (ASLR).

github.com/curl/httpget/blob/m

Historic versions of httpget source code. Contribute to curl/httpget development by creating an account on GitHub.
GitHubhttpget/httpget-0.2.c at master · curl/httpgetHistoric versions of httpget source code. Contribute to curl/httpget development by creating an account on GitHub.

Sunday surprise!

A friend of mine found an old email from me dated January 17 1997

Attached in this mail was the #httpget 0.2 source code. Previously believed to be lost, now the oldest httpget code I have.

165 lines long. 110 lines code, 30 lines comments, 25 blank lines.

This morning, #curl was 174,854 lines of code, not counting blank lines but comments.

1248 times larger over 28 years.

Wait, what? 😯

#curl can send email? Damn... @bagder I'm impressed (not that I didn't expected that), curl just keeps on giving. 😁

curl --url "smtp://$SMTP_SERVER:$SMTP_PORT" \
--ssl-reqd \
--mail-from "$SMTP_USER" \
--mail-rcpt "$EMAIL" \
--upload-file "$LOG_FILE" \
--user "$SMTP_USER:$SMTP_PASSWORD" \
--insecure

How I create and maintain RELEASE-NOTES for #curl: live-streamed tomorrow.

It was mostly implied from my how I do releases video, so I figured I could show a little more from how the sausage is actually made.

Should be a fairly brief one. At 10:00 CET tomorrow Friday over at twitch.tv/curlhacker as usual.

Twitchcurlhacker - TwitchI'm Daniel Stenberg, maintainer and lead developer in the curl project. I stream curl related stuff. Release presentations, curl development and related topics.