There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

kattfisk

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

kattfisk ,

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?

kattfisk ,

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.

kattfisk ,

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.

kattfisk ,

That’s what -R does in chmod as well? I feel like something here is going completely over my head. Or are you-all using another version of chmod?

kattfisk ,

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.

kattfisk ,

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!

kattfisk ,

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!)

kattfisk ,

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!

kattfisk ,

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 :)

kattfisk ,

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.

kattfisk ,

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


<span style="color:#323232;"> ...1-CrashLog2022-12-22   ...1.config   ...2   ...2-CrashLog2023-10-02   ...2.config   ...2.userprofiles
</span><span style="color:#323232;">$vim FoobarSystem-v20.69.1
</span>

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


<span style="color:#323232;">$include /etc/inputrc
</span><span style="color:#323232;">
</span><span style="color:#323232;">set completion-ignore-case on
</span><span style="color:#323232;">set show-all-if-ambiguous on
</span><span style="color:#323232;">set completion-map-case on
</span><span style="color:#323232;">set completion-prefix-display-length 9
</span>
kattfisk ,

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.

kattfisk ,

You really can’t though. For several reasons. Which would have been apparent to you had you bothered to actually create your example link to аpple.com or to understand this problem.

kattfisk ,

People think it’s about Stallman being bitter. But it’s because GNU is a political project with the goal of total user freedom and control over their computer. The software is a step on the way there. But if people use free software without understanding, valuing or taking advantage of the freedom it gives them, the GNU project has failed.

kattfisk ,

I think this is what people mean with it being “unstable”. If you keep the system up to date, things will break at some point, and it’s up to you to sort that out. This is because Arch makes very different promises and tradeoffs than something like Debian. It’s a distro for those who want or need to customize or just like to tinker.

The reason I left Arch was because I carelessly installed a new major version of my WM which took me hours to get working. This made me realize that while learning how things work is fun, I want my OS to be a tool rather than a project.

(If you needed to reinstall Ubuntu every six months I guess you were already using it as if it was Arch ;D)

kattfisk ,

I like All rights refused

kattfisk ,

If “All rights reserved” means “I, the rights holder, reserve the usage of all copy rights for myself only. You have no such rights.” then “All rights refused” must mean “I, the rights holder, refuse all copy rights to this work. You can do whatever.”

I guess I like it because it’s catchy and aggressively anti-copyright.

But if you’re actually going to release something where copyright might become an issue it’s of course better to use a real license like CC.

kattfisk ,

Same here. They have an open source graphical client you can use or they can generate an OpenVPN profile for you. Easy to use, high speeds, good price and they support port forwarding.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines