• 0 Posts
  • 59 Comments
Joined 1 year ago
cake
Cake day: July 14th, 2023

help-circle







  • Yes and no. Sometimes a NUL terminated string allow you to make the simplest algorithms. Apart from NUL terminated strings I use structs with a buffer pointer and length or one with a start and an end pointer when that makes the implementation simpler. NULL terminated arrays are also often an efficient way to make your algorithms simple. Go for the data representation that allow you to make the simplest algorithms.



  • The other commenters in this thread seems to be giving you good advice and moral support, so I’m just going to give my input which comes from a perspective that’s a bit different.

    Sometimes especially when the options we have are contrary to our beliefs, we have to consider if we really need to be a part of it. Sometimes the burden is the smartphone itself. I don’t use smartphones and I couldn’t be happier, somehow my life didn’t end. The last one I had was the N900 and even though it was a pretty cool pocketcomputer, I guess it’s now been around 10 years since I last had a smartphone. I don’t miss it and especially not when I see other people who have one. It’s scary so addictive it seems to be. Pen and paper for data sharing and just calling people can accomplish many tasks.

    Old people with bad eyesight also need banking, so I’d hope theres a bank out there who don’t require a smartphone. In my country banks use the national id for authentication and you can get a TOTP keychain for the 2FA instead of an app, perhabs similar options exist.

    Anyway, I hope you find something that works for you. Life is a process.








  • I agree and the requirement for an exact placement of attribution is not very friendly to derivate works either. I don’t think that section 7 of AGPL allow adding anything other than the exact terms in section 7 and it has a clause that allow removing non-permissive additions to the AGPL, but I’ve sent an e-mail to FSF asking what their position is. I would be very concerned picking AGPL as a license for my projects, if section 7 allow adding clauses like that. Anyhow the clauses were added in this commit, so anything prior to 7.3.0 is normal AGPL.


  • smpl@discuss.tchncs.detoLinux@lemmy.mlONLYOFFICE 8.1 released
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    5 months ago

    There is no free and open source version of Only Office. It fakes that it is licensed with AGPL, but they have added the following to the license, which in effect completely forbid you to redistribute it. It can be said to be Source Available.

    The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display Appropriate Legal Notices, as required under Section 5 of the GNU AGPL version 3.

    Pursuant to Section 7 § 3(b) of the GNU AGPL you must retain the original ONLYOFFICE logo in the upper left corner of the user interface when distributing the software.

    Pursuant to Section 7 § 3(e) we decline to grant you any rights under trademark law for use of our trademarks.

    https://raw.githubusercontent.com/ONLYOFFICE/DesktopEditors/master/LICENSE


  • You need to use a dmix PCM for you card as output.

    If you type aplay -L | grep dmix it’ll show you a list of dmix devices. You can set one as the default if you create a file named .asoundrc in your homefolder with the content:

    pcm.!default {
      type plug
      slave.pcm "dmix:CARD=Set,DEV=0"
    }
    

    You of course replace the value of slave.pcm with your desired card name. I just gave one of mine as an example. The above default configuration also takes care of automatic conversion, via the plug pcm, for different samplerates and formats to the settings the hardware is set up to use. Every program that use ALSA for output will read the above file, but you need to restart a program for changes to take effect.

    If you enjoy audio production I’m sure you’ll find some good use for Jack, but for audio mixing all you need is to use an ALSA dmix pcm for output.


  • A solution I’ve used for the glibc problem, is to build on an older distribution in a chroot. There is also this project which might be of use to pick a specific version of glibc. The project README also explain how to do it manually.

    As for distribution, I prefer something like makeself.sh, that installs to either ~/.local/ or if it is to be installed system-wide to /usr/local or /opt. The concept is just a small shell script appended with a compressed archive, it is easy to modify and even create by hand using standard tools like cat. This is a method widely used by native Linux games.