Just a basic programmer living in California

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

help-circle

  • Plenty of tools are using the system keychain. There are good libraries that provide a generic interface to gnome-keyring or kwallet depending on what is running. When I was working with Node I used the keytar library for that purpose.

    Edit: Oh, apparently there is a standard DBus API for keyrings. So you can use libsecret to interact with whatever keyring.


  • I think two things can be bad at the same time. I do think Retrospect is more problematic than Blood Fever because the implication in Retrospect is, “don’t take women at their word”. Vorik’s assault on B’Elanna in Blood Fever is obviously wrong, even if it is not adequately addressed in the episode. OTOH the story in Retrospect makes it seem like almost a reasonable position to assume that a sexual assault allegation is false until proven otherwise. That’s a problem.

    It is very difficult for a woman to come forward with an assault accusation; and when they do those accusations are dismissed far too often. That leaves women with all of the consequences of coming forward, but without any justice, making it even less likely that future assaults will be reported. To put an end to sexual assaults, it’s necessary to believe women.


  • My impression from DS9 is not that they are bounty hunters, but that they are isolationists, and are probably zenophobic. The Breen government allies with the Dominion because they see some benefit for themselves. I don’t think it’s a guns-for-hire situation. It seems like the Dominion is quite good at using enticements and threats to cajole self-serving governments that otherwise wouldn’t get involved in quadrant power struggles.

    The masks do bear a resemblance to Star Wars bounty hunters. They remind me most of Leia’s bounty hunter disguise. There’s a suggestion that the reason they wear masks and full-body suits is to confuse outsiders. Weyoun says that despite rumors of being extremely cold, Breen actually has a pleasant climate, and so no one knows why they wear refrigeration suits. But since that comes via Weyoun, who knows what’s true.




  • 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.








  • 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.).