Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

They finally did it.


Gli ultimi otto messaggi ricevuti dalla Federazione
  • @mpjgregoire No, we went to the presentation at Usine C.

    https://usine-c.com/spectacle/hamlet

    read more

  • @worik @strypey @reiver You're right; ActivityPub is encrypted from one end to the other.

    The problem is data at rest. AP activities are stored on the sender's server and cached on the receiver's server in the clear. If your server admin, or mine, decides to go spelunking in their database, they can violate our privacy and read our messages.

    This is no better or worse than unencrypted email. However, a lot of people on the Fediverse have accounts on servers they don't trust.

    read more

  • @frank awesome! would you maybe like to contribute this to the plugin? I am thinking about a snippets "directory", to show how the plugin can be extended with special features!?

    I will create a barebone folder with a readme for that!?

    read more

  • @peterkotrcka 4 days for all of them? I think it's too much.

    read more

  • @tfb define "easy" 🙂

    read more

  • @peterkotrcka Easy to get to from France?

    read more

  • @stefano and do you think they are close enough for someone, let's say, from Slovakia, to travel through all of these in 4 days?

    read more

  • Being the web performance zealot I am, I strive to having as little JavaScript on my sites as possible. JavaScript after all has to be downloaded and has to be executed, so extra JS will always have a performance impact even when in the best of circumstances it exceptionally does not impact Core Web Vitals (which are a snapshot of the bigger performance and sustainability picture). Hence when adding blocks in WordPress, I check if the block is entirely rendered server-side and if not I look for alternatives to avoid multiple files from wp-includes/js/dist (and in the case of some 3rd party blocks the entire React JS and more) being loaded.

    For that reason I tested the WordPress ActivityPub plugin with the reactions block loaded as per these guidelines and indeed it triggers the loading of hooks.min.js, i18n.min.js, url.min.js, api-fetch.min.js (all in wp-includes/js/dist) and 2 files from the plugin itself (/wp-content/plugins/activitypub/build/reactions/view.js and /wp-content/plugins/activitypub/build/remote-reply/view.js).

    To be able to reduce the dependency on those JavaScript files, 2 questions needed to be answered; how to have reactions (which I like a lot) without the JavaScript-driven rendering and what is that remote-reply thing.

    Starting with the latter; “remote-reply” handles the federation of local comments on reactions (comments) from the Fediverse, showing a modal window where the commenter is asked what ActivityPub account they want to post the reaction from. I decided this was not that important for me and –with some help from Matthias @pfefferle who always gives great support- came up with a couple of lines of code to not “do” remote-reply on this blog.

    Now that Fediverse reactions block is very nice and I did want reactions showing on my blog, so I started looking at the database and the ActivityPub plugin code and saw that all Fediverse reactions were stored in the wp-comment en wp-comment-meta db-tables and were in fact accessible with the WP_Comment_Query class and with quite a bit of trial and error I ultimately ended up with a totally server-side generated solution that looked pretty nice (and similar to the JavaScript-rendered one).

    If you’re interested, you can find the code in this gist, but don’t expect it to be good. Some negatives include no language handling, unminified CSS inline and the placement of the reactions might not work on every theme as I hook into the comments_template action to try to show them just before the comments. But who knows it might just work for you as well?

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    11 Views
    a small list of foss projects that don't allow ai-generated contributions:libadwaita: https://gitlab.gnome.org/GNOME/libadwaita/-/blob/main/CONTRIBUTING.md#use-of-generative-ailoupe: https://gitlab.gnome.org/GNOME/loupe/-/blob/main/CONTRIBUTING.md#use-of-generative-aizig: https://codeberg.org/ziglang/zig#strict-no-llm-no-ai-policybevy: https://bevy.org/learn/contribute/policies/ai/servo: https://book.servo.org/contributing/getting-started.html#ai-contributionsgentoo: https://wiki.gentoo.org/wiki/Project:Council/AI_policychimera linux: https://chimera-linux.org/community/#contributingqemu: https://www.qemu.org/docs/master/devel/code-provenance.html#use-of-ai-generated-contentgotosocial: https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CODE_OF_CONDUCT.mdfeel free to reply if you know any others #foss #ai #noai #opensource
  • 0 Votes
    3 Posts
    28 Views
    @pupxel oh I don't know anything about normal audio workflows 😅
  • 0 Votes
    3 Posts
    17 Views
    @stefano @nixCraft @imil Here on Debian {in MX Linux} I had to add the following tools since the machine is not configured for programmingbmake`apt install bmake`bsdtar`apt install libarchive-tools`then success>> log# $ ./startnb.sh -f etc/sshd.conf* using console: vioconusing QEMU version 7.2.19 (Debian 1:7.2+dfsg-7+deb12u16)[ 1.0000000] NetBSD 11.99.3 (MICROVM) Notice: this software is protected by copyright[ 1.0000000] Detecting hardware... (QBOOT 000000000000)[ 1.0257426] done.[ 1.0345973] kernel boot time: 51msCreated tmpfs /dev (1835008 byte, 3552 inodes)add net default: gateway 10.0.2.2Starting sshd.Server listening on :: port 22.Server listening on 0.0.0.0 port 22.>> End of log^ZI pressed ^C to enter the server to add the needed passwords for the user and rootlogin was a success then#netBSD #BSD #UNIX #OpenSource #programming #quemu #bash #sh
  • It's that time of year again!

    Uncategorized programming unix apue
    40
    0 Votes
    40 Posts
    41 Views
    Advanced Programming in the Unix EnvironmentTool Tip: ed(1) is the standard text editorAs part of our discussion of unix development tools, we take a short detour to provide a quick walkthrough of ed(1), the standard text editor. This is not done merely to up your geek creds, but understanding ed(1) will also helps us better understand other tools like vi(1), sed(1), and ultimately even things like diff(1) and patch(1) better.https://youtu.be/mRZsV7aMK0I#apue #unix #programming #ed