Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The first UNIX account I ever got was on a BSD, and the first thing I saw in the first file I learned how to open was:

  # A righteous umask
  umask 22
I'll never forget those lines because they seemed so mysterious and cool. And they informed my philosophy on how the internet should be. People should be able to see other people's stuff by default. It's nice for us to be able to learn from one another. It's harder to rely on the honor system for privacy nowadays, but I still think "share by default" is a noble ideal.

That said, I also am unsure how best to overlap aliases and configs that are sensitive to my workplace with my everywhere config. Maybe I should have a .employer file that I source if it's there, but something about including that into my everywhere config feels decidedly not righteous.



Not just the internet but communities too. High trust societies are great to live in, digitally and physically. Leave the doors unlocked, leave keys in the ignition, leave valuables on the table when you walk away.

But high trust societies only work when the price of ongoing admission is not violating that trust.

When you accept/tolerate/expect the violation of trust the doors lock.


> leave valuables on the table when you walk away

I actually do this somewhat frequently at my local game shop. Thousands of dollars' worth of Magic: The Gathering cards (because I bring multiple decks instead of just the one I'm playing) in my backpack left behind as I go to get some water or something.

> high trust societies only work when the price of ongoing admission is not violating that trust

Indeed, the reason I feel comfortable doing that is I know that nobody wants to be banned from going to that store (and they would be). In this context, the community is small enough that rumors would likely circulate at other local shops and they might also become a bit of a pariah at those other places they could play.


Very true. It also helps that from my experience MTG players are some of the nicest people you’ll meet


... but dude, we're talking about how you configure VI and ... bash. Like... guys. Calm down.


... to follow myself up...

I went ahead and looked in my .vimrc and lo and behold there's a "security issue" in it:

    if $USER != 'root'              " Modelines let you specify format rules for a file within the file
        set modeline modelines=5    "   e.g. "// vim: tabstop=20 : shiftwidth=20" (or something actually reasonable)
    else                            "   They can be a security vulnerability (unlikely) so we don't enable for root
        set nomodeline
    endif
... so yeah... I guess there's some concepts worth being extra sensitive about... but even still, surely y'all can handle this stuff.


> unsure how best to overlap aliases and configs that are sensitive to my workplace

I have a .zshrc that sources .zshrc_mh, .zshrc_$employer, etc. That way my .zshrc is always a shareable config of sane defaults, and weird/opinionated aliases can go in my _mh, stuff particular to my employer goes in the other one, so forth.

In the past I had a more complex loading system I used (and made) that worked out of ~/.zsh.d/, but I no longer bother with all of that.




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

Search: