Skip Navigation
Why the Swedes love doing something that Americans hate
  • It's only 7.4% if you're discounting the large service sector and looking only at goods (which may be what people mean by "exports", idk). That's why our numbers differ, it's 4.2% of all exports, and 7.4% of exported goods.

  • Why the Swedes love doing something that Americans hate
  • Oil and gas products account for 4.2% of Sweden's exports. The gas exports alone almost rival those of dairy and eggs! Truly a petrostate if I ever saw one

    Are you perhaps thinking of a different country?

  • UN picks Saudi Arabia to lead women’s rights forum despite ‘abysmal’ record
  • Getting Saudi Arabia to sign a commitment to human rights and take part in a women's rights forum opens them up to political pressure that would not otherwise exist.

    The powerful nations will never let the UN be a supernational police agency. That doesn't mean it has no value.

  • chmod -R hit me, again... Anyone else who faced these sys-admin woopsies?
  • ls -r actually lists entries in reverse order! It needs -R as well.

    cp and rm accept either.

    Looking at some man pages the only commands I found where -R didn't work were scp and gzip where it doesn't do anything, and rsync where it's "use relative path names".

    (Caveat: BSD utils might be different, who knows what those devils get up to!)

  • chmod -R hit me, again... Anyone else who faced these sys-admin woopsies?
  • Not chmod related, but I've made some other interesting mistakes lately.

    Was trying to speed up the boot process on my ancient laptop by changing the startup services. Somehow ended up with nologin never being unset, which means that regular users aren't allowed to log in; and since I hadn't set a root password, no one could log in!

    Installed a different version of Python for a project, accidentally removed the wrong version of Python at the end of the day. When I started the computer the next day, all sorts of interesting things were broken!

  • chmod -R hit me, again... Anyone else who faced these sys-admin woopsies?
  • Aha! I didn't get that you meant the issue was accidentally using -r instead of -R since both you and OP wrote the upper case one.

    I'm a lot more used to -R so I instead get caught off by commands where that means something other than recursive :)

    I mostly use symbolic mode and honestly don't get why everyone else seems to use octal all the time.

  • After a naked Chun Li scandalised a fighting game tournament, Capcom sounds the alarm about PC game modding: 'There are a number of mods that are offensive to public order and morals'
  • While on one hand this seems silly and overreaching, I am also reminded of just how much trouble Rockstar got in for the Hot Coffee mod. The game was reclassified as adult in the US and banned in Australia, and I think they got hit with fines as well as a lawsuit.

    Now sure this was content that technically shipped with the game, but since it was impossible to access without modding for all practical purposes it was added by the mod.

  • D or d come on
  • This is likely because docker runs Linux in a VM on MacOS right?

    We've had similar problems with stuff that works on the developers Mac but not the server which is case sensitive. It can be quite insidious if it does not cause an immediate "file not found"-error but say falls back to a default config because the provided one has the wrong casing.

  • D or d come on
  • Well completion-ignore-case is enough to solve this particular problem, the other options are just sugar on top :)

    I'm going to add completion-prefix-display-length to these related bonus tips (I have it set to 9). This makes it a lot easier to compare files with long names in your tab completion.

    For example if you have a folder with these files:

    FoobarSystem-v20.69.11-CrashLog2022-12-22 FoobarSystem-v20.69.11.config FoobarSystem-v20.69.12 FoobarSystem-v20.69.12-CrashLog2023-10-02 FoobarSystem-v20.69.12.config FoobarSystem-v20.69.12.userprofiles

    Just type vim TAB to see

     ...1-CrashLog2022-12-22   ...1.config   ...2   ...2-CrashLog2023-10-02   ...2.config   ...2.userprofiles
    $vim FoobarSystem-v20.69.1
    

    GNU Readline (which is what Bash uses for input) has a lot of options (e.g. making it behave like vim), and your settings are also used in any other programs that use it for their CLI which is a nice bonus. The config file is ~/.inputrc and you'd enable the above mentioned options like this

    $include /etc/inputrc
    
    set completion-ignore-case on
    set show-all-if-ambiguous on
    set completion-map-case on
    set completion-prefix-display-length 9
    
  • D or d come on
  • I and l also look identical in many fonts. So you already have this problem in ascii. (To say nothing of all the non-printing characters!)

    If your security relies on a person being able to tell the difference between two characters controlled by an attacker your security is bad.

  • D or d come on
  • I believe that type of stuff is specified in your locale, so it's possible that it would do the right thing if you've set your language to Turkish. Please try it and let us know though :)

  • D or d come on
  • If you did it would likely break something as it's one of only two characters not allowed in a file name (the other being null).

    You can do a lot of funky stuff within the rules though, think about control characters, non-printing characters, newlines, homographs, emojis etc. and go forth and make your file system chaos!

  • All Cities Skylines 2 DLC
  • Here I was thinking they would tone it down for the sequel because a lot of the DLC for the first game was pretty worthless. Who buys a dozen songs for 4€ when you can just play spotify/youtube/mp3s in the background?

    I guess this is to get you to pay for their subscription to enjoy the full game. But unless they are going to make the base game free it just feels like a ripoff.

  • Advice on when to purchase PC parts
  • My experience is that sales are unlikely to cover a component you want anyway. If they are right around the corner, then sure why not, but otherwise just enjoy your new computer sooner rather than definitely waiting to maybe get a deal.

    Do check price history though to see if something you're interested in is currently overpriced or regularly on sale.

  • AOC Says Climate Movement Must Become 'Too Big and Too Radical to Ignore'
  • I'd say it's more that peaceful protest and violent protest are symbiotic. Peaceful movements attract broad support, and ensure you can not easily be dismissed as extremists and violently suppressed. Violent protest show that you can not be ignored without consequence.

    The idea that they are at odds is harmful.

  • Starfield is the latest game to be boycotted by conservatives. This time because of pronouns
  • I'm honestly really pleasantly surprised that Nexus Mods are willing to take this fight head on. That they are willing to tell these potential customers to sod off, and that they have the tact and understanding to tell the difference between a superficially benign mod with a malicious purpose like this, and the many vulgar mods that they do allow on the site. (Shout out to Schlongs of Skyrim, you magnificent beast)

    Gamers, in the general, being the worst people I don't have high expectations from gaming companies but it all seems to be moving slowly in the right direction, even as gamers gnash their teeth and waddle their fingers.

  • Can someone please explain why not to use Brave browser ?
  • But that post is Mozilla clearly speaking out against SREN because they do not want to be compelled to block certain sites.

    Are you then talking about Google Safe Browsing? Which is enabled by default in Firefox, but which does not "monitor your activities". It compares the site you are about to visit to a downloaded list of known bad ones and warns you if it's on the list. Hardly an Orwellian nightmare. Just turn it off or ignore the warning if you do not want it. I keep it on because I've never seen a false positive on that list and I understand that even I'm vulnerable to attack.

    We should be free to customize programs, free to block what we don’t need

    And you are. If you don't want to use safe browsing, turn it off, is right there in the menu. They have given you a default that's best for most people and the option to customize.

    Further, since it's free software there's really no limit to your power to customize or get rid of what you don't need. (I understand that this is not possible for most people, but that's why you have the menu options, this is just a final line of defense.)

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)KA
    kattfisk @lemmy.dbzer0.com
    Posts 0
    Comments 33