Live data from Hacker News

Viewing profile — ir3k

ir3k

HN member
Joined
Wed, Jul 19, 2023, 1:28 PM UTC
HN karma
52
Public activity
13 items

About ir3k

http://irek.gabr.pl

Recent public activity

  1. comment
    Comment #42875171

    Forgot the year of the Linux. It's the year of Pebble! I had a blast on last Rebble hackathon creating watchface named pRebble inspired by Pebble original UI design which I found a…

  2. comment
    Comment #36849947

    I looked into those points and: 1. `sfd` is now closed. This cost me an extra line of code tho so I had to improvise. 2. `j` was not initially -1 as even empty input contains one "…

  3. comment
    Comment #36797158

    Wow, this is actually very good description of program flow. There are only few small mistakes. For example: > navigate through the history (when input starts with a digit) Should …

  4. comment
    Comment #36797113

    Yes, that was my reasoning. Also there is non-written rule in this project that forbids me from going wider than 80 columns. With that I initially had indentation set to 2 spaces b…

  5. comment
    Comment #36793630

    That's true and many Gemini clients supports multiple protocols. But in case of this "gmi100" only gemini:// protocol is supported.

  6. comment
    Comment #36793601

    Besides GNU/Linux I compiled on MacOS. I made no effort to test on BSD systems or Windows. I included only few std libs so I wonder - what exactly makes it not compatible with Open…

  7. comment
    Comment #36791331

    Yea it's very hard to read. I'm surprised that people are actually can follow the flow and can understand dirty tricks. The most unreadable code would be the code that was intentio…

  8. comment
    Comment #36791217

    This is such a great feedback. Thank you a lot. OFC I will try to correct my mistakes. Not to make any excuses, just for the context. I'm a beginner in C programming and I wrote on…

  9. comment
    Comment #36790243

    Yes, sry for confusion. I don't see any way to correct my mistake as edit button for title and description is no longer available to me. At least I don't have this mistake on GitHu…

  10. comment
    Comment #36789827

    Ah yes, there are couple of line saving tricks like that. Mostly in for loops. Thanks for suggestion. I will go through code again to see if I can save more space with normal code.…

  11. comment
    Comment #36789645

    I found out about BearSSL after I had first version of client working. So I kept OpenSSL. I will remember to try BearSSL in next project.

  12. comment
    Comment #36788465

    Yea, you are right. Poor choose of words on my side. One can argue the definition of "web" but it would be much more precise to write "CLI client".

  13. story
    Show HN: Gemini web client in 100 lines of C

    Gemini protocol documentation claims that it is possible to write basic web client in 100 lines of code proving protocol simplicity. Easy in modern scripting language but can it be…