Live data from Hacker News

The Gemini protocol seen by this HTTP client person

daniel.haxx.se

101–110 of 113 posts

Re: The Gemini protocol seen by this HTTP client person

#101
I too am nostalgic for a simpler web, and also an increasingly of the view that the modern web was a severe wrong turn for software engineering and computing generally. I also run my own gopherd and httpd servers. Despite the severe shortcomings of Gopher as a protocol in 2023, I simply cannot understand much of the design rationale behind Gemini.

Markdown is not a well-defined standard and is arguably no easier to parse than basic HTML 1.0. HTML can easily be rendered as text in a style not dissimilar to raw markdown if required.

The decision to enforce the use of TLS means that rolling your own client is less trivial than had it been optional. It also cuts out a big chunk of the hobbyist market who are most likely to be interested in a small, lightweight protocol. Support for Gemini will therefore be limited to systems with maintained TLS libraries. At the end of the day, anyone sniffing your Gemini traffic is going to be able to see the host you’re accessing - whilst TLS will preventable them knowing which specific page you’re reading, they will be aware of the set of pages you could be reading.

Instead, I am focussing my attention on building small, light web-pages that have completely optional CSS, are pure HTML without cookies or JavaScript and work in browsers modern or ancient. There’s a plethora of great browsers that can access it, from Lynx and Netscape running on a Solaris 8 machine to Chrome on my work PC. Servers are ample and well-tested.

And a good chunk of my website is text (rendered in Groff) to boot.

It’s 95% of the Gemini experience with 5% of the effort and 1000% more reach.

Re: The Gemini protocol seen by this HTTP client person

#102
post #26

Earlier quoted context omitted.

Why is Creole better? To me they look much the same. Except I prefer Markdown for the looks and how widespread it is. I was a Wikipedia contributor for many years before Markdown came along, and I think Markdown has a better flavor for hyperlinks. "[link text](url)", "[link text][footnote] + [footnote]: url" are just great. I write like this even without any expectation of rendering it as anything but plaintext.

Years ago I read a well-reasoned comparison of a handful of markup languages and the author made a strong case for Creole (which I had never heard of before or since. I use markdown just like everybody else. ;) Unfortunately, I can't remember the arguments and I've never been able to find that article again. So I can't tell you why it's better. But try it and see what you think?

I already evaluated Creole and prefer Markdown. I also prefer reStructured Text over Creole.

Searching for comparative reviews, I’ve found five, neither of which recommended Creole for any particular reason.

My main point of review is how to make local links:

When I use Markdown, it’s either in my Obsidian notes which actually have a wiki-style [[link]] syntax (not standard for Markdown), or it’s in a git repository where local links means a link to a relative file path.

The latter is more portable, whereas wiki-style namespaces assume one homogenous knowledge base, which makes distributing documents more difficult.

Re: The Gemini protocol seen by this HTTP client person

#103
I think Gemini proponents who think Daniel is missing the point, or that he should not overthink this so much as it's just for fun, are the ones missing the point.

Daniel is not saying that is a wrong thing. He is saying that he has a PR to review and would need a clearer spec for this and gives his opinion on how it can be improved. His opinion is interesting because he is a long time spec user and writer.

One commenter says that it's like the coca cola boss criticizing a competitor, but curl implements a lot of protocols. He probably doesn't care.

It's for fun, granted, but if you want curl to implement your fun project, part of the fun becomes doing things properly. If you bothered writing a spec, it might as well be unambiguous, no? Not that I think the point of Gemini is to be fun, mind you. I think it's a strongly political movement advocating for minimalism. I do believe it's a worthy cause.

His point is also to criticize the technical choices but that's fair game too. Again, his opinions as someone who has a lot of experience in the field are interesting too. Should I implement such a protocol now, I would definitely get back to this article to make sure I'm paying attention to the right things and making the right tradeoffs for my use case.

I overall think the Gemini community should take Daniel's input as a good contribution to their ecosystem. He took time to sit down and consider Gemini seriously. Several times.

Now he finds gemtext pages ugly, it's his opinion expressed on his personal blog, it's not particularly interesting and this opinion is not particularly related to his expertise. It's also not worth discussing with logical arguments since it's taste. Now there's still a point that can be made from this: if many people find Gemini ugly, including someone used to deal with RFCs daily, that means it will stay small. And that it's in the end, not an adequate answer for widespread minimalism it could have been and which is a goal that seems worth pursuing.

Re: The Gemini protocol seen by this HTTP client person

#104
post #78
post #35

What if... Markdown was its own MIME type and browsers rendered it with a default stylesheet? :thinking_emoji:

What if browsers had a default stylesheet that doesn't suck? The fact that twitter bootstrap had to exist at all should embarrass browser vendors. If people could write their html like motherfuckingwebsite and trust the browser to make it look decent, the web would be a much better place.

That would be nice, but unfortunately improving the default styles now would break an ungodly number of things. Cat's out of the bag now, people rely on the crappy defaults (save for the minor differences between browsers).

Re: The Gemini protocol seen by this HTTP client person

#105
post #103

I think Gemini proponents who think Daniel is missing the point, or that he should not overthink this so much as it's just for fun, are the ones missing the point. Daniel is not saying that is a wrong thing. He is saying that he has a PR to review and would need a clearer spec for this and gives his opinion on how it can be improved. His opinion is interesting because he is a long time spec user and writer. One comme…

> If you bothered writing a spec, it might as well be unambiguous, no?

Sure, people want unambiguous specs. However there is a list of literally dozens of working clients, servers, and libraries that were implemented based on the Gemini spec as is. Perhaps Daniels concerns are, in practice, not as important?

https://github.com/kr1sp1n/awesome-gemini#clients

I would also point out the hell that is the HTTP/1.0 and HTTP/1.1 specs, and that it took ~15 years for the HTTPbis group to remove all the contrary and ambiguous parts of it. This had little impact on the raise of HTTP

> His point is also to criticize the technical choices but that's fair game too.

Sure, but many of his criticisms are false. Full Stop. (servers and clients DO support TLS resumption. Proxying does work and there are multiple working examples, client's do server certificate validation)

Or don't make sense ("Gemini closes a TLS connection after each request? HTTP figured out keeps-alives in 1996! This is bad design." HTTP has different access patterns. If Gemini had those access patterns it would be bad design. It doesn't)

Re: The Gemini protocol seen by this HTTP client person

#106
post #38

Earlier quoted context omitted.

Alternative would need to fill similar function, while it can't even embed an image or put a table.

Hacker News can't even embed an image or put a table, yet here you are? Anyway... _________________ / /| / / | / Table / | / / | /________________/ /|| | __________ | / || | | | || | | | || | | | || | | | || | | |_|/ | | |_|/ | | | | | | |__|/ |__|/

hackernews "markup" is also garbage, we don't come here for that

Re: The Gemini protocol seen by this HTTP client person

#107
post #106

Earlier quoted context omitted.

Hacker News can't even embed an image or put a table, yet here you are? Anyway... _________________ / /| / / | / Table / | / / | /________________/ /|| | __________ | / || | | | || | | | || | | | || | | | || | | |_|/ | | |_|/ | | | | | | |__|/ |__|/

hackernews "markup" is also garbage, we don't come here for that

Same as people who use Gemini.

Re: The Gemini protocol seen by this HTTP client person

#108
post #103

I think Gemini proponents who think Daniel is missing the point, or that he should not overthink this so much as it's just for fun, are the ones missing the point. Daniel is not saying that is a wrong thing. He is saying that he has a PR to review and would need a clearer spec for this and gives his opinion on how it can be improved. His opinion is interesting because he is a long time spec user and writer. One comme…

> If you bothered writing a spec, it might as well be unambiguous, no? Sure, people want unambiguous specs. However there is a list of literally dozens of working clients, servers, and libraries that were implemented based on the Gemini spec as is. Perhaps Daniels concerns are, in practice, not as important? https://github.com/kr1sp1n/awesome-gemini#clients I would also point out the hell that is the HTTP/1.0 and HTT…

Stating that it's easy to develop clients and servers for Gemini is fine. But it's not how curl works. IF a feature is to be accepted, it will have to be maintained for a long time. In fact, it would not surprise me that curl's eventual implementation will be regarded as a sort of reference, simply because curl is such a well-regarded project. So it's really important to get this right.

And the spec is the only realistic thing to build on, because clients diverging from the spec have been threatened by blacklisting by other users (Amfora attempting to use emoji "favicons" for example led Drew Devault to threaten to ban the client from accessing his servers).

Re: The Gemini protocol seen by this HTTP client person

#109

> Gemini documents certainly are never visually very attractive As a proponent of the Gemini protocol, I take issue with this line. The Gemtext format is a minimal markup format for text documents. It's a way of semantically indicating "this part is plaintext", "this part is a link", "this part is a header". Unlike HTML/CSS, it does not provide a mechanism for the author to style their documents. Instead, it is up to…

Lagrange makes Gemini pages look quite attractive in my opinion.

https://gmi.skyjake.fi/lagrange/

Re: The Gemini protocol seen by this HTTP client person

#110

Earlier quoted context omitted.

Hacker News can't even embed an image or put a table, yet here you are? Anyway... _________________ / /| / / | / Table / | / / | /________________/ /|| | __________ | / || | | | || | | | || | | | || | | | || | | |_|/ | | |_|/ | | | | | | |__|/ |__|/

Ceci n'est pas une table.

Heart emoji.
Post reply on HN