[-] p_consti@lemmy.world 20 points 1 week ago* (last edited 1 week ago)

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

[-] p_consti@lemmy.world 17 points 1 month ago

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

[-] p_consti@lemmy.world 13 points 1 month ago

Does "Database > Merge from Database" not work for your case? I remember it helping when I had a similar situation

[-] p_consti@lemmy.world 27 points 3 months ago

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.

[-] p_consti@lemmy.world 1 points 4 months ago

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

[-] p_consti@lemmy.world 5 points 4 months ago

With git. Every time we start work, we pull. After every commit, we push (and pull/merge/rebase) if necessary.

[-] p_consti@lemmy.world 10 points 4 months ago

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.

[-] p_consti@lemmy.world 2 points 5 months ago

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

[-] p_consti@lemmy.world 6 points 6 months ago

Pretty sure the commenter above meant that the their RAM was advertised as X GiB but they only got X GB, substitute X with 4/8/16/your amount

[-] p_consti@lemmy.world 2 points 9 months ago* (last edited 9 months ago)

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.

[-] p_consti@lemmy.world 3 points 9 months ago

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.

[-] p_consti@lemmy.world 1 points 1 year ago

You removed the legend, what do the colours mean?

view more: next ›

p_consti

joined 1 year ago