Just a basic programmer living in California

  • 7 Posts
  • 176 Comments
Joined 2 years ago
cake
Cake day: February 23rd, 2024

help-circle
  • Gitignore settings don’t prevent checking in run configs if that’s what you want to do. Even if someone has the run configs pattern ignored, they’ll get those files with the repo clone. Gitignore only prevents adding files that aren’t already checked in - it’s a guard rail to prevent accidentally checking in so something you don’t want. You can override ignore settings to check in something new in with git add --force <filename>


  • Global gitignore is for idiosyncrasies of your computer, not for repo-specific stuff. For example if you use an editor that writes in-place backup or swap files (like .swp files with Vim’s default settings), or you’re on a Mac which writes .DS_Store files into every directory, you’re going to want those ignored for every repo. That way you can comfortably work with other people’s repos, even if they’re not configured for your particular setup.

    The global ignore combines with gitignore files in each repo. So if it’s an ignore pattern that everyone working with that repo should have, put it in the repo.



  • That’s almost what I do with my work journal too. Daily logs with an index. A page for deferred tasks. A page here or there for tracking things that need to be done for a given project. I find the index helpful even if I only occasionally put an entry there.

    For my personal journal daily logs are the core feature for sure. But I also get a lot of value from a future log, and a page for the current month with a list of events, and scheduled tasks.


  • I use bullet journals, and I have one for work. It’s not exactly the same - instead of my thought process it’s mostly what tasks I’m working on each day, and meeting notes. It helps me to organize what I what to get done so I don’t have to keep thinking about what I want to get done. It also helps me to get an idea of where my time went, and is a good place to write down anything I want to refer back to. Like when a coworker trained me on a deploy procedure I took notes, and added a line for that page number to my index.





  • Capitalism is where there is a class of people whose role is to own things. Or put another way, it’s where substantial portions of industry are owned by private interests that the public has little oversight over. Money and markets don’t necessarily require capitalism. Free markets can exist without capitalism with systems like these:

    • All businesses are employee-owned, such as through cooperatives, or employee stock ownership plans where employees own effectively all the stock.
    • Businesses are publicly owned via a democratic government, but those businesses are expected to operate in a largely self-sufficient way, and are allowed to compete with each other.
    • Public ownership like above, but by industrial unions

    Those are forms of “market socialism”. A real system is likely to have a mixed economy, such as cooperatives, with some state-controlled or union-controlled industries for cases where trade-offs don’t favor market competition.



  • Eh, it’s taken extraordinary circumstances to hold the very rich accountable basically forever. For example tobacco companies were found to have been knowingly, aggressively lying for decades about cigarettes killing people on a huge scale. But none of the tobacco CEOs saw any personal consequences. That was well before 2001.

    The first Gilded Age ended when monopolistic trusts were broken up, but that only happened after a rare confluence of factors: wealthy misbehavior became so obvious and egregious that public outcry reached a high point; and at the same time William McKinley was assassinated, putting Theodore Roosevelt in the presidency. Republicans had put Roosevelt in the vice presidency to make him stop causing trouble for them - they didn’t expect him to end up with actual power. That’s what it took to get some control over the country’s most influential businessmen. But even after Roosevelt’s trust-busting campaign, the consequences for the very rich were that they became somewhat less rich.

    You do sometimes see CEOs serve jail time, like Elizabeth Holmes, and Martha Stewart. But those are people who just aren’t on the same level as the CEO of the nation’s sole energy company (in the case of Monsters Inc.).




  • When I’ve done this it’s generally done with JWTs where each micro service is configured with a trusted public key that is used to authenticate the JWT. The JWT can be sent to the client when they log in, and used to authenticate all API requests (forwarding the JWT as necessary for service-to-service requests). It’s also possible to have a gateway mint JWTs after using some other means to authenticate client requests.

    Sometimes service-to-service requests don’t have a client request in context to pull a JWT from. In those cases you need another authentication mechanism, like a different signed token, or a shared secret.



  • I’m not an organizer for this community. But I also find the Quikscript literature compelling. Although an advantage of Shavian is that it has an established Unicode assignment, and corresponding fonts are in circulation. For example Shavian text renders correctly for me running the Thunder Lemmy client on Android without any special setup.

    The main criticism I’ve read of Shavian comes down to accommodating dialect differences. How you write "R"s and vowels is particularly issuous. You kinda have to pick a dialect as the one to canonicalize in spelling. But I think that applies to all phonetic alphabets - unless someone has come up with some very clever system of per-dialect glyph interpretation rules that I’m not aware of.



  • That’s not an unreasonable answer. But I find this thread a little frustrating. As I see it, it’s gone like this:

    • phpinjected: Why don’t I have a tool to do these non-hierarchical things?
    • frongt: You already have a tool that does those specific things.
    • hallettj: What could change to make that tool better suited for those non-hierarchical / tagging things?
    • frongt: Don’t use that tool to do tagging things. It’s the wrong tool.

    Why bring up hard links if people shouldn’t use them for the requested use case? I mean, I do think your original reply was interesting and relevant as a starting point to get to what I think OP has in mind. But that line of thinking does require getting into how to use hard links for a non-hierarchical workflow.

    I feel like OP was trying to start a discussion about what might be, if things were different. I tried to reply in the same spirit. I feel like I’m asking, “What if things were different?”, and I’m being told “It doesn’t work that way.” Which doesn’t feel like an especially helpful response to me.


  • We have hard links, but is there any good UI out there for them? I only know of using the ln command directly. Or put another way, do you know of anyone who actually uses hard links in a way similar to how a tagging filesystem would be used? What are the obstacles that prevent this use case from being easy or discoverable enough to be in common use?

    With a tagging system you can remove tags without fear of losing file data. But with hard links you could easily delete the last link without realizing that it’s the last link, and then the file is gone.

    That relates to another issue: in a tagging system you can look at file metadata to see all of the file’s tags. Is there a convenient way to do that with hard links? I see there is find . -samefile /path/to/one/link, but requiring a filesystem scan is not optimal.