[-] freamon@endlesstalk.org 3 points 5 months ago

Lemmy doesn't seem to get much recognition in the wider Fediverse - it tends to get bundled as part of 'other apps'. Mastodon is much bigger, so better integration with Lemmy probably gets deprioritised below their own issues and feature requests (e.g. I was reading today that Markdown support is often requested, but the base version still doesn't have it)

[-] freamon@endlesstalk.org 15 points 5 months ago

I don't think it's technically impossible - all the information that another site needs to properly interpret some activity is in the JSON that's sent. I get the sense that it might be unrealistic to expect Mastodon to make the necessary changes though. It seems more of a political issue than a technical one.

[-] freamon@endlesstalk.org 40 points 5 months ago

It's partly an issue of keys. Every fediverse actor has a private key and a public key. When my instance sends this to fediverse@lemmy.world, it's signed by my private key, and lemmy.world uses my public key to verify it. When fediverse@lemmy.world sends this comment out, it uses it's own private key to sign it. It can't just re-transmit my comment, because it doesn't have my private key. All it can do is Announce that I've made the comment (and sign the Announce).

Mastodon treats Announces as Boosts, so every post/comment is interpreted as a thing that fediverse@lemmy.world has boosted, so you get all these un-connected posts appearing. I think it's mostly up to Mastodon to remedy.

It works better if a Mastodon actor posts into a Lemmy community, then you get the mix like you imagine. e.g.: https://mastodon.world/@Flash/112095241193510662 (this particular post was crowbarred into Lemmy via !tails@lemmon.website, but it would be the same if the author had done it.)

[-] freamon@endlesstalk.org 1 points 5 months ago

Oh right: tildes has a system like this - I didn't know it was (probably) inspired by Slashdot.

Adding federation into the mix certainly complicates things though.

[-] freamon@endlesstalk.org 5 points 6 months ago

No settings page (as far as I'm aware), but you can use the API to get everything (posts, comments, etc):

step 1: get login token -

curl --request POST \
     --url https://lemmy.ml/api/v3/user/login \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "username_or_email": "2br02b",
  "password": "YOUR-PASSWORD"
}
'

step 2: use login token (big long string starting with 'ey') to get data -

curl --request GET \
     --url 'https://lemmy.ml/api/v3/user?username=2br02b&page=1' \
     --header 'accept: application/json' \
     --header 'authorization: Bearer YOUR-JWT'

Increment page number until you have everything. source: https://lemmy.readme.io/reference/get_user

[-] freamon@endlesstalk.org 2 points 6 months ago

Edited to account for blahaj updating to 0.19.3 ... hopefully that's the last big instance to change.

It's been about a week since sh.itjust.works and lemmy.world updated, so results from those instances will start appearing again soon.

[-] freamon@endlesstalk.org 2 points 6 months ago

Voyager has a setting for "No subscribed in All/Local" that does this. It's better on than off, obviously, but it doesn't turn All or Local into some kind of goldmine.

I get the sense that, unless you're willing to do it yourself, feature requests for Lemmy don't have much chance of being realised.

[-] freamon@endlesstalk.org 6 points 6 months ago

Wait, what? A user posts a thing to a server, and that thing isn't then duplicated to 50 other servers ... yeah, I don't see how that can work.

(I'm just kidding - your site looks neat.)

[-] freamon@endlesstalk.org 5 points 6 months ago

!quickanimalfacts@lemm.ee - yeah, go on then. subbed.

[-] freamon@endlesstalk.org 6 points 6 months ago

(sorry to intrude). This has had a few cross-posts on Lemmy. The link that goes to !tails@lemmon.website is attributed to the author of the image, so you can reply to them via that community if you wish.

[-] freamon@endlesstalk.org 0 points 6 months ago

(sorry to intrude). This has had a few cross-posts on Lemmy - this one technically wasn't, but it seems Lemmy has picked up on it. If you want some ALT text, and to reply to author of this image, the link that goes to !tails@lemmon.website provides that.

[-] freamon@endlesstalk.org 1 points 6 months ago

Errr ... I want to say it was in Captain America, but I was being vague 'cos I can't really remember. I wasn't expecting to be quizzed on it tbh.

5
submitted 6 months ago* (last edited 6 months ago) by freamon@endlesstalk.org to c/piefed_meta@piefed.social

This is probably just me, but I found INSTALL.md to be a bit confusing.

So, for a fresh install of Ubuntu in a Windows Hyper-V VM, this is the list of steps I took to get something that at least looks like it might be the right thing:

remove unattended-upgrades, and clean up after OS install

sudo systemctl stop unattended-upgrades
sudo apt-get purge unattended-upgrades
sudo apt autoremove

install postgresql 16

sudo apt install ca-certificates pkg-config
wget --quiet -O - [https://www.postgresql.org/media/keys/ACCC4CF8.asc](https://www.postgresql.org/media/keys/ACCC4CF8.asc) | sudo apt-key add -
sudo sh -c 'echo "deb [http://apt.postgresql.org/pub/repos/apt/](http://apt.postgresql.org/pub/repos/apt/) $(lsb_release -cs)-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
sudo apt update
sudo apt install libpq-dev postgresql

install python libs

sudo apt install python3-pip python3-venv python3-dev python3-psycopg2

install redis server

sudo apt install redis-server

install git

sudo apt install git

set up database

sudo -iu postgres psql -c "CREATE USER pyfedi WITH PASSWORD 'pyfedi';"
sudo -iu postgres psql -c "CREATE DATABASE pyfedi WITH OWNER pyfedi;"

clone PieFed

git clone [https://codeberg.org/rimu/pyfedi.git](https://codeberg.org/rimu/pyfedi.git)

cd into pyfedi, set up and enter virtual environment

cd pyfedi
python3 -m venv ./venv
source venv/bin/activate

use pip to install requirements

pip install wheel
pip install -r requirements.txt

edit .env file

cp env.sample .env
nano .env
(change SECRET_KEY to some random sequence of numbers and letters)

initialise database, and set up admin account

flask init-db

run the app

flask run
(open web browser at http://127.0.0.1:5000))
(log in with username and password from admin account)

Maybe this will help someone else (or maybe someone has spotted something that I missed - like I say: it looks right when loaded in a browser, but I'm not 100% sure)

88
221
submitted 6 months ago* (last edited 6 months ago) by freamon@endlesstalk.org to c/news@lemmy.world
84
166
submitted 7 months ago by freamon@endlesstalk.org to c/funny@lemmy.world
259
Did someone call for IT support? (files.mastodon.social)
submitted 7 months ago by freamon@endlesstalk.org to c/funny@lemmy.world
122

After 6 years, project 4K80 (the 4K fan-edit of Empire Strikes Back) finally has some release candidates.

The linked post details why it took so long (compared to 4K77 and 4K83), and the plans for the future.

It's something I'll download when they've worked on it a little more. For now though, Adywan's 'The Empire Strikes Back Revisited' remains my favourite version.

54

Given the shared underlying protocol, I didn't like that if I saw something interesting on Mastodon, and wanted to post it on Lemmy, I'd have to screenshot it and/or re-attribute it to me rather than the original author.

Tails is an experimental community. Instead of announcing just what a Lemmy user has posted, it announces what a Fediverse actor has posted. This means that, so far, it's featured posts from Mastodon accounts like Mr Lovenstein, warsandpeas, George Takei, Low Quality Facts, and other interesting people. Lemmy users have been able to reply to the author, and have also replied to those other Mastodon accounts that responded.

You can see for yourself at !tails@lemmon.website

(the usual rules apply: if you're the first person on your instance to do this, you'll likely get a blank screen or an error. Wait 10 secs or so, press refresh, and you should have it).

11
submitted 7 months ago* (last edited 7 months ago) by freamon@endlesstalk.org to c/learningrustandlemmy@lemmy.ml

I'll reply in the comments with a example of what lemmy sends for each thing you can do (I think I've thought of everything, but you can probably guess the format if not, or I can always add it).

So, the setup for these is:
Our instance is called 'local.com'
Our user is called 'freamon'
The other instance is called 'remote.com'
The community on that instance is called 'interesting'

For many of these, remote.com will receive them, and rewraps them in an Announce to send out to all the other instances with a copy of the community, so everyone stays in sync.

Sort by 'Old' for the best hope of these making sense.
I'll follow this post up with a script, that can be used to send these activities from the command-line, as I think it can help to understand Lemmy if you're using something much simpler than Lemmy to do some of things Lemmy does.

EDIT: As nutomic as mentioned, a better list is in the docs. It's the kind of thing I should read first, I guess.

972
So this is how democracy dies ... (files.mastodon.online)
181

For Season 1, it took a extra year for the FX ... so maybe this means Season 2 will appear in February next year?

Maybe they were able to get some done during the strikes. Or maybe Andor will get shoved up the priority queue. Either way, it could even be out later this year.

Looking forward to it either way. I'm sure I'll find time to squeeze in an extra rewatch of Season 1 in the meantime ...

24

An introduction to the Rust language basics.

What Rust is and why you might want to learn it
Examining a simple program
Learning about the types of variable you can have (numbers, strings, tuples, arrays)
Introducing control flow with if, for, while and loop
Talking about functions and expressions

Preparing ourselves for the next video, which is about memory management

If you'd like to learn more about Unicode and character sets, try my video Interesting Characters where I share how surprisingly interesting this whole area is.

Links:

Florian Gilcher on "Why Learn Rust?": https://youtu.be/l8Qk5Nh6qsg
Slides: http://artificialworlds.net/presentations/rust-101/A1-intro-to-rust
Exercises: https://101-rs.tweede.golf/A1-language-basics/mod.html

Rust 101 is a series of videos explaining how to write programs in Rust. The course materials for this series are developed by tweede golf. You can find more information at https://github.com/tweedegolf/101-rs and you can sponsor the work at https://github.com/sponsors/tweedegolf . They are released under the Creative Commons Attribution Share Alike 4.0 International license.

This series of videos is copyright 2023 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.


This project is on-going, is hosted on PeerTube, and we aren't too far behind, so I thought it might be of interest.
Playlist so far: https://diode.zone/w/p/xesbWmNanEHNBfJCZFQRUm

view more: next ›

freamon

joined 1 year ago