I was programming in assembly for ARM (some cortex chip) and I kid you not the C program we were integrating with required 255, with just 1 it read it as false
Consti
Programming and reading.
- 0 Posts
- 13 Comments
Consti@lemmy.worldto Selfhosted@lemmy.world•What Nextcloud document service setup would you recommend?English5·1 month agoLatvia is partly involved, yes, but it’s also part Russian and recently moved to Singapore. You may find the history section on Wikipedia interesting; it also lists the russian part-ownership as reason for many users leaving OnlyOffice (and I’ve seen quite a few posts on that at the time).
As for the open-source part, I stand corrected, thank you
Consti@lemmy.worldto Selfhosted@lemmy.world•What Nextcloud document service setup would you recommend?English5·1 month agoFrom what I can tell, OnlyOffice has the best compatibility and the nicest UI (similar to MS office), same as with the regular applications. NextCloud Office is based on LibreOffice (officially Collabora, which is their name for the web product), so again same as the regular applications you’ll have some compatibility issues. That said, if you don’t need compatibility with existing documents or only documents made with LibreOffice, either is fine.
One concern many have is that OnlyOffice is closed source (edit: my bad, it’s been open-source for a long time) and russian based (edit: partially russian, see Wikipedia), while LibreOffice is open source.
If you need finer control than recursive
chmod
(see other replies), you can also usefind
to match precisely which files/folders you want and use the-exec
parameter to runchmod
on those
Consti@lemmy.worldto Linux@lemmy.ml•A few beginner questions about the differences between distros.6·4 months agoThe main reason for Ubuntu against Debian is the packages. For Ubuntu, they’re much newer, and with PPAs (launchpad.net), you can often get more and/or newer packages built by other users. For debian, good luck, you’re stuck with old packages (which is the intent of Debian stable, but not nice as a user, that’s for server)
Consti@lemmy.worldto Linux@programming.dev•How to show a diff of 2 kdbx Keepass Databases when a sync conflict happens?13·9 months agoDoes “Database > Merge from Database” not work for your case? I remember it helping when I had a similar situation
Consti@lemmy.worldto Programming@programming.dev•understanding many2one, one2many and many2many relationshit25·1 year agoUsually 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.
Consti@lemmy.worldto Programming@programming.dev•Does anybody actually use trunk based development in their company?1·1 year agostreaming 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
Consti@lemmy.worldto Programming@programming.dev•Does anybody actually use trunk based development in their company?5·1 year agoWith git. Every time we start work, we pull. After every commit, we push (and pull/merge/rebase) if necessary.
Consti@lemmy.worldto Programming@programming.dev•Does anybody actually use trunk based development in their company?10·1 year agoWe 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.
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.
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.
I actually had to test this with my hardware, Win11 is atrocious. I don’t have exact numbers, but Win11 uses so much more RAM for itself that it’s really noticeable how it just gets slower so much faster when I open stuff.