Hacker Newsnew | past | comments | ask | show | jobs | submit | vaylian's favoriteslogin

Why not leverage the bash 'caller' builtin? It's meant for printing stack traces, e.g.

    #!/bin/bash
    
    die() {
      local frame=0
      while caller $frame; do
        ((++frame));
      done
      echo "$*"
      exit 1
    }
    
    f1() { die "*** an error occured ***"; }
    f2() { f1; }
    f3() { f2; }
    
    f3


 Output
    
    
    12 f1 ./callertest.sh
    13 f2 ./callertest.sh
    14 f3 ./callertest.sh
    16 main ./callertest.sh
    *** an error occured ***
Via: https://bash-hackers.gabe565.com/commands/builtin/caller/

I think an issue here is that open source allows you to create what you think needs to exist without worrying about extra details like how to pay for its development. You think Thing should exist, you go try to build it. The barriers to entry are low.

If it succeeds and becomes popular, now it's a time sink. It's no longer something you tinker on when inspiration strikes. You have obligations.

At that point, it feels like slave labor, like a thing you are required to do without pay. And you feel like if people value it, they should support it somehow.

Most folks doing open source probably aren't great at monetization. If they knew how to do this as a business model from the get go, they probably would have.

Relatively few people feel free at that point to just walk away and say "Not my problem. I created this for free. If you love it, you maintain it. If you need something reliable and up to date, then pay for a commercial product. I've given you all the time I'm going to give you for free. I'm on to new hobbies."

No, instead they get all excited that people want it, resentful that people won't pay for it, and they rightly recognize that it has value. Now they want to be compensated.

And the world has Nobel Prizes intended to encourage people to create brilliant new breakthroughs to benefit humanity without necessarily knowing how to monetize it, so we have this idea embedded in our collective subconscious that if we do a good thing, it ought to be rewarded.

I've done a lot of volunteer work over the years. I've thought a lot about such issues.

I think we would do well to develop some systems for helping people monetize their thing if it gets popular. But we could also work on the cultural side of this and help people understand that you need to think about how much you are willing to give and that if your thing gets popular, making money with it is an additional job to do, not an entitlement.

And if you are bitter that it doesn't pay, one legitimate option is to walk away or only give it however much time you actually enjoy giving it and not one minute more.


Just because you cannot setup a mail-server correctly, i have installed 100's of email-server (2022) from AWS to Hetzner to Vultr andandand. Yes your random static ip can deliver reliable email IF you have:

-Static IP (4 and 6)

-Correct Reverse DNS for IP4 and 6

-Correct Hostname

-Site-verification for gmail/microsoft

-DMARK

-DKIM

-SPF for IP4 and 6


The future is here already, it's just not evenly distributed. There are countless examples of local ecosystems that have been entirely decimated as a direct result of human activity. It's been going on for millenia. The Tigris/Euphrates river region used be a lush, fertile paradise. Thousands of years of human agriculture has turned it into what it is today.

Clear-cutting of forests throughout North America, Britain, New Zealand are other examples. Recent collapses of kelp forests off the coast of California. Not to mention coral reefs dying and the great desertification of western China.

It's happening all over. It's here now.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: