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.

@madmaurice@discuss.tchncs.de avatar

madmaurice

@[email protected]

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

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

You know how you increasingly fail at a thing the more you concentrate on it. Like walking or riding a bike?

Yeah… That.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

“Simon says, the defendant must plead guilty”

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

“Back then we really had to work”

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

So they were aware of it needing repairs and let their president fly anyway? 🤔

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

What do you expect from large coorporations? A conscience?

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

He looks to the left and has a green hat. How much more political do you want?

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

I’ve been opening it daily and I thought duo was just tired of my bad Japanese…

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

I’m going with neither.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Yes. I’m sure.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

If you really need to kiss me, do it yourself, coward. Don’t rely on a nasty ass salt lamp /s

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Nix installs derivations into separate folders. A derivation can be a package, but can also be other things like configuration files, scripts or sources for packages. Nix doesn’t distinguish between these derivations by a name but rather by a hash created from their build instructions.

For example two instances of the same package with a different version are two different derivations and thus nix can have both package versions installed without them interfering with each other. But this goes beyond just a package version. It is e.g. possible to have the same package with the same version but different patches applied, or relying on different versions of dependencies. Since their build instructions differ both can be installed simultaneously.

This approach grants a variety of advantages. For example upgrading your NixOS system just installs new derivations of packages and configuration files that have changed, while keeping previous derivations until they’re garbage collected at a later time. This allows you to switch freely between both iterations of your system, for example if an update causes issues you can just revert back to before an update easily. Another advantage is that an unprivileged user can install packages they need without interfering with the rest of the system, for example an older python version or a newer one, or some software they want but the system does not provide.

The price of having this kind of isolation between packages is that nixos cannot install binaries and libraries into common locations. Effectively /usr/bin only contains the env binary. If you’re familiar with shell scripting you might have run into lines such as #!/usr/bin/env bash. This env util will essentially search bash in your PATH variable and start it. Lines like #!/bin/bash however will not work, because there’s no bash installed in that location.

Another case where a missing fhs is a problem is when using pre-compiled binaries. In contrast to binaries built through nix, which have their required libraries hardcoded as absolute paths, pre-compiled binaries you download usually only contain the name of the library they need, which works in a conventional fhs environment, because these libraries tend to be found in /libor /usr/lib. On NixOS neither of those are present. There two solutions to this. Either you create an fhs environment by listing the set of derivations to be symlinked into a chroot environment which mimics an FHS. Or you can install github.com/Mic92/nix-ld which automatically finds the required libraries the nix way if you start such a binary. There’s also steam-run which installs an fhs with most of the dependencies necessary to start Linux games from Steam.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Choosing the most recent one might be impossible if you have multiple installations of the same package with same version but different features enabled during the configure step.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Conflict resolution was not my point. Rather the question which the “most recent” between two almost identical installations…

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

It’s not that it’s hard to do. It’s that it goes directly against the idea of NixOS since it breaks the separation. With NixOS I can start a shell in a different iteration of my system without switching over the whole system. If I had all my software installed into standard places, that shell might find things it’s not supposed to find.

Bottom line is: Most things work on NixOS out of the box. The PATH variable is adjusted accordingly to what a program is supposed to find, which in my opinion is perfectly reasonable and enough for software to find other software. The dynamic library paths are hardcoded as absolute paths, so software can find it’s libraries. There’s a special dynamic loader for binaries that don’t adhere to this. And if you really need an FHS compliant environment NixOS gives you the tools to create one in a sandbox.

You can either have the perks of NixOS or use an FHS compliant distro. That’s your choice.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Imho there’s a difference between “people abuse it” and “it is possible for programs to use software that they shouldn’t even find”. Anyway I noticed just now you weren’t the one to actually ask the initial question of whether it’s technically possible, so I apologize for not noticing this earlier. However I think it’s a meaningless endeavor to ponder whether or not it’s possible when that fact is irrelevant.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Imho I wouldn’t bother with nix-env or nix profile. It just creates a secondary list of packages that needs to be maintained and it’s cumbersome to do so. There’s nix-shell or nix shell if you need a package temporarily and there’s your configuration.nix or flake for everything else.

Side note: nix profile at least has consistent commands: install/remove/upgrade

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

I wouldn’t say it is “hidden”. “covered” would be a fitting word.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

To be fair this is not the first infamous fascist with a bad hairdo, but this one certainly raised the bar. It looks like a bowl cut, but with different size bowls used…

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Your i3 is too old. Perhaps your distro’s repository has a package called “i3-gaps” which was the former fork that implemented this feature. i3-gaps was merged back into i3 in the meantime.

Since i3 4.22, you can configure window gaps.

i3wm.org/docs/userguide.html#gaps

Gnome completely different and buggy after update (Debian)

I just ran an update, as one does with apt update and upgrade. Afterwards all my monitors, bedies that one ancient 4 by 3 monitor stopped working. That 4 by 3 displays gnome at a lower resolution then usual. So I assumed that this has something to do with the nvidia drivers (has happened many times before). So I run...

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

First of all: Did you do apt dist-upgrade as well? If I remember correctly that is a new required step when upgrading to a new Debian release.

If that doesn’t help, you could check if your nvidia-detect package version is the expected version, that comes with Debian 12.

If neither of these steps help you could disregard nvidia-detect and try the steps listed in the following link. It seems the firmware was moved to a separate repository compared to Debian 11. You might need to add that by hand. wiki.debian.org/NvidiaGraphicsDrivers#bookworm-52…

Non-executable binary with invalid name

I found a binary file with a gibberish name in my home directory. Its content seems to be just hex zeroes when I open it in an online binary viewer. It doesn’t have execute permissions. It seems I accidentally ran spotify --uri= around the time the file was created (I could not replicate)....

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Convoluted name and a lot of null bytes? Sounds like a temporary file used during downloading.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Maybe they did, but now you can view that data too? It’s Facebook after all…

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

I’m pretty sure Hitler was not the last German to fail art, so I’ll take my chances.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

“Satellites block God’s ability to watch us”

The omniscient, omnipotent god is defeated by a piece of space trash? What a rip-off.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

To be fair. That’s the Christmas market on the Altmarkt in Dresden and there’s a huge parking garage right below it. 😄

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Well you obviously can’t drive the truck to the bathroom. 🤡 jk

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

How classic is it? Because microwaves have not really been around for that long.

madmaurice , (edited )
@madmaurice@discuss.tchncs.de avatar

None of what’s visible helps identifying the error. Try journalctl -xb as suggested it might show more relevant information

Edit: oops should’ve been joirnalctl instead of journal

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

I doubt other init systems can make the screen bigger so that the vital part of the kernel log is still on screen, but be my guest to prove me wrong 🙄

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Oops 😬

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Thank you for proving my point.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

I think you missed the point the other person was trying to make. They mean shut off all electrical grids. I don’t think South Africa has that power.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Cookie AutoDelete. I’m using it on Firefox, but there seems to be a chrome version.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

Maybe you could be a little more specific about what builtin functionality you’re talking about. I have yet to see Firefox delete cookies on its own while it’s open.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

At this time of year it’s called “nut cracker”.

madmaurice ,
@madmaurice@discuss.tchncs.de avatar

I did that twice today by accident. I’m sorry 🥹

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