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

daniel:// stenberg://

bagder@mastodon.social

daniel:// stenberg://

bagder@mastodon.social
I write curl. I don't know anything.
ActivityPub
2023-04-05 07:05:26 2023-04-03 06:59:53 2023-04-03 06:59:51 2972863

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

daniel:// stenberg://

2 years ago • •

daniel:// stenberg://

2 years ago • •


introducing #trurl daniel.haxx.se/blog/2023/04/03… - trurl is a tool in a similar spirit of tr but for URLs. Here, tr stands for translate or transpose.

introducing trurl | daniel.haxx.se

daniel.haxx.se
#trurl
  •  Languages
  •  Search Text
  •  Share via ...

Peter Vágner likes this.

in reply to daniel:// stenberg://

Stefan Eissing
mastodon - Link to source

Stefan Eissing

in reply to daniel:// stenberg:// • 2 years ago • •
…and it is 100% compatible to curl‘s true, living url parsing standard.
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Stefan Eissing

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

daniel:// stenberg://

in reply to Stefan Eissing • 2 years ago • •
@icing hey, no need to curse this early in the morning! 🤠
@Stefan Eissing
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Troed Sångberg
mastodon - Link to source

Troed Sångberg

in reply to daniel:// stenberg:// • 2 years ago • •
@icing I need more coffee. I saw who sent the post and automatically parsed that as "hey, no need to curl this early in the morning" and was like wat?
@Stefan Eissing
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Troed Sångberg

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

daniel:// stenberg://

in reply to Troed Sångberg • 2 years ago • •
@troed @icing I apologize for not taking low coffee level amounts into account before writing "complicated" toots 😀
@Stefan Eissing @Troed Sångberg
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

spydon
mastodon - Link to source

spydon

in reply to daniel:// stenberg:// • 2 years ago • •
that's super useful, thanks!
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Vincent Biret
mastodon - Link to source

Vincent Biret

in reply to daniel:// stenberg:// • 2 years ago • •
it'd be nice if it also supported URL template (RFC6570)
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Vincent Biret

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

daniel:// stenberg://

in reply to Vincent Biret • 2 years ago • •
@vincentbiret feel free to propose with more details how exactly you imagine that could look like
@Vincent Biret
  •  Languages
  •  Search Text
  •  Share via ...
Unknown parent

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

daniel:// stenberg://

Unknown parent • 2 years ago • •
@fireglow aaaaaah😂
@fireglow
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Andrea Corbellini
mastodon - Link to source

Andrea Corbellini

in reply to daniel:// stenberg:// • 2 years ago • •

this looks great, thanks for creating it! For years I've been using Python's urllib in the interactive interpreter, this will surely be a nice replacement.

Just a tiny remark: the scheme guessing looks like a potential footgun to me

  •  Languages
  •  Search Text
  •  Share via ...
in reply to Andrea Corbellini

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

daniel:// stenberg://

in reply to Andrea Corbellini • 2 years ago • •
@andrea the guessing is there because that's exactly the same guessing curl does, which makes trurl behave exactly like curl in that aspect
@Andrea Corbellini
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Rowan Merewood
mastodon - Link to source

Rowan Merewood

in reply to daniel:// stenberg:// • 2 years ago • •
I twitched because the preview image really made feel like I was having to solve a captcha. Please select all the images containing a valid URL...
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Björn Lindström
mastodon - Link to source

Björn Lindström

in reply to daniel:// stenberg:// • 2 years ago • •
@bagder
Part of Daniel Mróz portrait of Trurl
Opening of first story introducing Trurl in Swedish translation
@daniel:// stenberg://
  •  Search Text
  •  Share via ...
in reply to Björn Lindström

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

daniel:// stenberg://

in reply to Björn Lindström • 2 years ago • •
@bkhl kul att på engelska är det bokstaven n som gällde! =)
@Björn Lindström
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Björn Lindström
mastodon - Link to source

Björn Lindström

in reply to daniel:// stenberg:// • 2 years ago • •
i det polska originalet är det S.
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Space Hobo
mastodon - Link to source

Space Hobo

in reply to daniel:// stenberg:// • 2 years ago • •

I remember working on an API that had all kinds of fields for things like host, port, resource name, etc.

I went to everyone and said "You know we have a structured microformat for this information already, right?"

It helped that we were in python and urlparse was everywhere, but even that won't split "netloc" for you grumblegrumble...

  •  Languages
  •  Search Text
  •  Share via ...
⇧