gmi100

Dev tools

command line client

SHOW HN2023

91points
45comments
#707of 3,109 in 2023
Top 23%of 2023 by points

How HN took it

CuriousMostly questions and neutral comments

3 positive, 6 neutral or asking, 1 mixed, 2 critical, out of 12 comments about the project. Thread score +0.01.

Execution: 2 for, 1 againstIdea: 1 for, 0 againstDesign: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Impressive density and readability of code

    From 1 comment
    • Impressive, the code is dense but not too hard to follow. And you even managed to cram in history!
      sjmulder on HN
  • Clever funnel-based goto control flow

    From 1 comment
    • Nice to see someone else fall upon what I call funnel-based control flow, as opposed to stack-based control flow of most programs using functions. I used the same pattern in…
      __s on HN

Objections

  • Resource leaks and buffer overflows in the code

    From 1 comment
    • It's a nice project, but - I guess as is tradition with the majority of C projects - it has resource leaks and buffer overflows. There is at least one resource leak, namely,…
      pobrn on HN
  • Code is very hard to read

    From 1 comment
    • This is the most unreadable code I may have ever seen. Congrats on successfully writing it and getting it to work.
      sbjs on HN
  • Depends on OpenSSL rather than a lighter TLS library

    From 1 comment
    • Nice, except the dependency on openssl. It would have been a great opportunity to use BearSSL[0]. 0. https://bearssl.org/
      snvzz on HN
  • Described as a web client when it is a command line client

    From 1 comment
    • What do you mean by web client? From the github it looks more like a command line program.
      Narishma on HN

Requests

  • Use BearSSL or abstract the TLS layer

    From 2 comments
    • Nice, except the dependency on openssl. It would have been a great opportunity to use BearSSL[0]. 0. https://bearssl.org/
      snvzz on HN
    • Is BearSSL still actively maintained? My approach is abstracting SSL away so the API can be exchanged wit OpenSSL, MbetTLS, etc.
      cryo on HN
  • Replace comma-operator tricks with clearer code

    From 1 comment
    • https://github.com/ir33k/gmi100/blob/master/gmi100.c#L27 definitely threw me for a loop until I realized it was a line saving trick. It would be more readable to save lines…
      jeremycw on HN

Questions

  • Does it compile on OpenBSD

    From 1 comment
    • I remember gplaces, but it doesn't compile under OpenBSD. It needs lots of fixes to be built on systems beside GNU/Linux. On golang, Bombadillo today supports "images" with…
      anthk on HN
  • What does the project actually do

    From 2 comments
    • What do you mean by web client? From the github it looks more like a command line program.
      Narishma on HN
    • This is cool. I asked ChatGPT4 to explain to me what it does, and it gives a useful overview: This is a minimal Gemini protocol client written in C. The Gemini protocol is an…
      keepamovin on HN

Alternatives named

  • Bombadillo

    From 1 comment
    • I remember gplaces, but it doesn't compile under OpenBSD. It needs lots of fixes to be built on systems beside GNU/Linux. On golang, Bombadillo today supports "images" with…
      anthk on HN
  • Amfora

    From 1 comment
    • I remember gplaces, but it doesn't compile under OpenBSD. It needs lots of fixes to be built on systems beside GNU/Linux. On golang, Bombadillo today supports "images" with…
      anthk on HN
  • gplaces

    From 1 comment
    • I remember gplaces, but it doesn't compile under OpenBSD. It needs lots of fixes to be built on systems beside GNU/Linux. On golang, Bombadillo today supports "images" with…
      anthk on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/36786239)