Skip Navigation
Jump
Setting up a Git Repo Which Includes Inconsistently Mounted Directory/File
  • I haven't seen git update-index --skip-worktree mentioned yet. You can read about the motivation for this feature in the git scm docs.

    I have used it in the past when a professor wanted us to clone repos for assignments that included some opinionated settings for VSCode that I didn't want to use. Skipping the work tree for that directory allowed me to change or delete the config files without git complaining every time I pushed or pulled or whatever, and the changes I made remained local.

    You could set up a couple git aliases to "freeze" and "thaw" your config files on the second drive.

    4
  • Jump
    GTK Apps might come to Android
  • I'm a baby dev trying to collect some brain wrinkles. Can you expand that last point? What's the downside of client side decorations? What's a better alternative?

    10
  • Jump
    Help creating custom fuzzy seach command script.
  • It looks like you haven't passed a package name to nix-search, so it's just printing the usage info, and fzf is ingesting the lines of that usage info for you to fuzzy search over.

    fzf won't pass the search query back to whatever program piped in the input. The search query is only used to narrow the results.

    I'm not sure how to go about interactively searching nixpkgs with fzf, but you could start by writing a function that accepts a package name or whatever you want to search for and passes it to nix-search. Then fzf can narrow down the results for you.

    2
  • Jump
    ‘The Movement to Convince Biden to Not Run Is Real’
  • The point is that there is now a credible fear that if Biden does not drop out, Trump wins.

    Replacing the candidate at the top of the ticket this late is a hail Mary, but it could bring unenthusiastic voters back into the Democratic tent.

    72
  • Jump
    Is it possible to change the View in the file picker on pop os?
  • It's unfortunately not possible to swap between list and grid views with the gtk file-chooser. It's a common complaint, but there doesn't seem to be any movement to allow greater configuration.

    There are some limited configuration options for the file-chooser exposed through dconf. The most accessible way to modify these is with Dconf Editor. You can find file-chooser settings at /org/gtk/settings/file-chooser/ and /org/gtk/gtk4/settings/file-chooser/, but it's mostly things like whether to show hidden files by default or sort by a certain column by default.

    I'm in the same boat as you; I wish the file-chooser had some more config available, but I just kinda live with it. It does seem like you can replace the gtk file-chooser though. the XDG Desktop Portal framework was originally designed to allow Flatpak applications to use native environment tools like file choosers, but it seems like you can use it to force a different file-chooser.

    2
  • Jump
    China is banning dailies, first time bonuses, and other gacha practices found in HSR and Genshin.
  • Whoa, this is pretty huge for free-to-play games. These regulations seem like they target multiple aspects of the gacha.

    I didn't see a mention of the timeline for compliance or enforcement, but even if the timeline is long, I doubt mihoyo wants to maintain separate forks of their games for China and for everyone else. I guess we'll see how it plays out.

    9