Live data from Hacker News

Viewing profile — karl42

karl42

HN member
Joined
Tue, Mar 19, 2013, 2:25 PM UTC
HN karma
619
Public activity
91 items

About karl42

Ideally, software should be free and simple.

https://www.karl.berlin

Recent public activity

  1. comment
    Comment #48073801

    The link is an HTTP proxy to the original content at gemini://zaibatsu.circumlunar.space/~solderpunk/gemlog/lua-as-a-practical-soft-bedrock-language.gmi

  2. story
  3. comment
    Comment #47932131

    > What is the better alternative? One alternative is https://self.xyz . It generates ZK proofs from the digital signature on your e-passport or national ID card. That allows you to…

  4. comment
    Comment #47642417

    Do you see a way to help and improve the situation?

  5. comment
    Comment #47637400

    https://djot.net/ seems to be very sane and still very similar to markdown. And after reading the CommonMark spec, I appreciate the saneness very much. CommonMark did a great job a…

  6. story
  7. comment
    Comment #47207846

    Fortunately, AI can also be used to reduce complexity. The case I noticed most often is to use the slightly more ugly API, or duplicate some generic code, but avoid pulling in a de…

  8. comment
    Comment #43318908

    You could combine both by adding a stack frame each time the error is returned one level up. This could be done explicitly (cumbersome and not everyone will do it) or automatically…

  9. comment
    Comment #43293065

    In a similar vein, I made https://www.wikdict.com/reader/sv-en/ , which adds translation pop-ups to each word in the input text. The cool thing compared to manually looking up word…

  10. story
  11. comment
    Comment #42424386

    It doesn't have to. But if it does not end in .py, you have to add the --script (or -s for short) flag to tell it to interpret the file as a python script.

  12. comment
    Comment #42412621

    You can install to your path with 'uv tool install'. uvx is just an alias for 'uv tool run'.

  13. comment
    Comment #41695944

    Debian splits their distribution into three components: * main (free software) * non-fee * contrib (free software that depends on software outside of main, so usually non-free soft…

  14. comment
    Comment #38275720

    It shows "2023-11-15" below the title for me.

  15. comment
    Comment #37810694

    The creators are encouraged to create engaging/addicting/long content if that is what causes higher payments. Therefore, I much preferred the original Flattr where I defined which …

  16. comment
    Comment #37809981

    I do not want to support anything that optimizes for "engagement". It penalized all the really useful offerings that I use for a minute to solve my problem and then don't touch aga…

  17. comment
    Comment #37464549

    I agree that `envsubst` is a good choice for this. Unfortunately, it is not part of posix, so you can't rely on it being present everywhere. But as part of gettext, it is still ver…

  18. comment
    Comment #37457419

    Author here. Nice to see people appreciate simplicity. If you have any questions, feel free to ask!

  19. comment
    Comment #37457332

    > I found his GEMINI approach quite funny - it strips out most of the formatting with a regexp. Do you mean the regexp in https://github.com/karlb/karl.berlin/blob/master/blog.sh#L…

  20. comment
    Comment #37434839

    Did you try fugitive as a Magic replacement? https://github.com/tpope/vim-fugitive

  21. comment
    Comment #37274319

    The one thing that keeps me from using it more often for scripting is the lack of a fail-on-error mode (similar to `set -e` on bash). I know it is hard to get this to behave well i…

  22. story
  23. comment
    Comment #36939843

    > If you can figure out a protocol where ads don't work, I'm in. Is it even theoretically possible to create such a protocol? Preventing tracking is feasible, but telling apart ads…

  24. comment
    Comment #35413426

    I have that problem, too. Can you recommend any counter-measures?

  25. comment
    Comment #34979423

    Python packages are available for sqlean as well: https://github.com/karlb/sqlite-sqlean/ .