Skip Navigation
Jump
~~Most~~ many file types are just a renamed .zip
  • Not quite correct. For html, that is to signal standard compliance, you can leave it away and the browser will still handle it. For the bash one, all (most) shell scripts use .sh, so you need to give a shebang to tell the loader which executable (sh, bash, zsh, csh, ...) to use

    Also on Linux xdg does take file extensions into account, just executables do not

    20
  • Jump
    When will Steam stop using i386 packages?
  • You can start steam just fine without the packages. In fact, if you install without them, it'll ask you to install them every time, but you can skip that and it'll work, just 32bit games won't launch

    Edit: Looks like I'm partially wrong, as pointed out by a commenter below, steam currently only launches the 32-bit version of the client, despite support for a 5l64-bit client

    13
  • Jump
    What does "legitimate interest" mean in cookie settings?
  • It'sintended to be used when the cookies are actually required for the app to work. For example, to preserve your login, you need a cookie, no way around. Unfortunately, as mentioned by others, it's often abused

    17
  • Jump
    Installing Ubuntu with Secure Boot.
  • Secure boot means only signed code can run in the kernel/ring 0. Grub, as the loader, needs to be signed as well. Basically anything with system privileges needs to be signed. If I remember right you need to enroll the signing key on installation, and the rest is handled automatically, but you can't use any custom kernel or kernel drivers.

    4
  • Jump
    Installing Ubuntu with Secure Boot.
  • Not a problem if you stick to Ubuntu packages. All packages in the default apt repositories contain signed stuff, so you can install drivers (graphics, virtualbox, ...) like normal. I had it accidentally enabled when I initially installed and only noticed when I tried to build custom drivers myself.

    3
  • Jump
    [Unresolved] What the hell is happening here??
  • When everything closes, are you sure that's the lock screen and not the login screen? It sounds like cinnamon is crashing, which means you're automatically switched back to the display manager (login screen). This can sometimes show the boot logo while it's switching, happens on my laptop as well, noy sure why that is. If it is crashing, you might find the cause in the logs, run journalctl -e and dmesg to check for errors

    13
  • NSFW
    Jump
    Strange bug involving Plasma 6, Wayland and NVIDIA
  • 555 is still in beta, so I wouldn't be surprised if something doesn't work. That said, I haven't experienced what you have (on GTX 1070 TI), though using 555 causes lots of kernel errors for me. Checking dmeg might reveal something in your case as well.

    7
  • Jump
    understanding many2one, one2many and many2many relationshit
  • Usually we don't distinguish between many2one and one2many, since it's the same just viewed from the other entity.

    There is one more class though, which is one2one. That is, the entities have a direct relationship. Sometimes this also includes the case where you have zero or one, i.e. the relation is optional on one side. This can be accomplished with an FK plus unique constraint or by merging the tables.

    27
  • Jump
    Does anybody actually use trunk based development in their company?
  • streaming small commits straight into the trunk

    The image even calls it like that

    Some things don't have good CI/tests, so it doesn't make sense to include the build step, especially on a small team where we trust each other. But yes, it's not good practice, and we don't do this on every project, but sometimes it's necessary to adjust the flow to the specific project

    1
  • Jump
    Does anybody actually use trunk based development in their company?
  • We do, for two 2-3 person projects, where no code reviews are done. This is mostly because (a) it's "just" a rewrite and (b) most new functionality is small and well-defined. For bigger features a local branch is checked out and then merged back later. Commits are always up-to-date, which makes it much easier to test integration of new featues.

    10
  • Jump
    Do you use Firefox Sync? Why or why not?
  • It's not a question of the browser, it's the addon. There are separete APIs for local and synced storage (but same interface). Both browsers use the same main api (web extension).

    2
  • Jump
    Help, I have a path variable issue!
  • You can set the initial value directly in /etc/environment, did you check that? It could also be set only for your user, so it might be in ~/.profile, ~/.bashrc or ~/.bash_profile` (or the rc file for your shell if you're not using the default bash).

    Edit: I suppose you could also have added a startup script in /etc/init/ or /etc/init.d/, or in /etc/rc.local

    2
  • Jump
    eGPU docks?
  • I use it for everything, because I connected my external monitors through the eGPU. https://wiki.archlinux.org/title/PRIME has a few methods for running only selected applications via the eGPU, but I haven't tried them. Edit: See also https://wiki.archlinux.org/title/External_GPU#Xorg for eGPU specific setups.

    2
  • Jump
    eGPU docks?
  • Can confirm, I'm using a dock (from Razor) daily without problems. Hot switching doesn't work though, you need to restart X/your display manager to connect or disconnect the eGPU. I'd recommend the gswitch utility to configure the graphics card to be used (on X11). Haven't tested much on Wayland, but I know that at least Gnome (Wayland only) has trouble mixing eGPU and the internal display if that is important.

    3