[-] Pekka@feddit.nl 16 points 2 months ago

Sometimes I do like his videos, but this one was positioned so bad. The video does go over the changes in Plasma 6.1 and they are good, but this is not a huge change that would change anybodies live.

I know he is probably inspired by channels like Linus Tech Tips, but even they don't got that far anymore. I think he probably intended this in a comedic way, as most of his audience knows that he makes his videos like this, but it really makes the videos worse.

[-] Pekka@feddit.nl 16 points 2 months ago

That headline is quite misleading ... the malicious extension only had a few hundred installs, not millions. They just copied an existing extension that does have 7 millions installs. They did went quite far by registering a URL. Of course it is bad that stuff like this manages to get on the store, but as long as you check what you are installing, you should be fine.

[-] Pekka@feddit.nl 15 points 1 year ago

Dit is een grote stap. Ik had niet verwacht dat hij er echt uit zichzelf mee zou stoppen zolang de mensen voor hem bleven stemmen. De formatie zou wel erg lastig worden met zoveel partijen die het zat zijn om met hem samen te werken (PvdA, GL, BBB). Het wordt wel heel interessant waar het nu naar toe gaat.

[-] Pekka@feddit.nl 11 points 1 year ago

Such a misleading title.. if they actually do this you will still be able to install the minimum version of Ubuntu, you just get the option to pick additional software that automatically gets installed as snap packages.

I really don’t see the issue. If you don’t want any additional application or if you don’t want snap packages don’t pick anything. It really is their choice to support Snap packages, and snap and flatpack packages are just a lot easier to support for distro maintainers.

[-] Pekka@feddit.nl 12 points 1 year ago

but outside of your own server pretty much nobody will care. Lemmy is federated over multiple jurisdictions, so even with full deletion implemented there’ll almost certainly be instances which will ignore the deletion request - and it will be completely legal for them to do so

Lemmy also seems to federate your matrix_user_id, that is clear personal data. It does not matter how the data gets to the federated server, this is still user data within the scope of the GDPR. It does not matter that that server does not have an agreement with the user, the instance that would ignore a GPDR related deletion request would be in direct violation of the GDPR. Maybe it can do that without consequences, though.

I completely understand that making Lemmy fully GPDR compliant will probably be impossible, however I don't like the approach of "we will not succeed, so we don't make any attempt". Instances should actually delete data when that is requested, or instance hosts can get fined. For now, Lemmy has bigger issues to solve, but eventually they should do at least a best effort attempt to respect user data.

[-] Pekka@feddit.nl 11 points 1 year ago

The article makes some good points, cooperation can easily get greedy when their platform gets too large. It does feel like it tries to connect FOSS to privacy, though, and that's a bit more controversial, especially when it comes to the Fediverse. For a platform like Lemmy the most important thing is to share the post that you published, there is limited development time, security is hard, and when things go wrong it is hard to point at someone.

For example, sending private messages often leads to these private messages being readable by the admins of the instance. In the same way, instance admins can also see the email address that you provided. So we just have to trust the instance admin to be capable enough to protect our data and not leak it out on the internet.

Of course, these issues also exist in companies that want to push out new features to attract users instead of spending time to test if everything is secure. It simply is a difficult point for both FOSS and commercial software, and we need to hold both FOSS and commercial parties responsible for respecting our privacy. At least with FOSS, we can switch to a fork if a maintainer does not do their job well.

[-] Pekka@feddit.nl 10 points 1 year ago

The law that requires phones to use USB-C, does not say it will last forever. In fact, the update to USB-C proves that they look for new technologies and update the law once such a thing is needed. Maybe now people have to buy new chargers, but in the long term, keeping chargers the same will reduce e-waste as people can use USB-C to charge many devices. You can charge your MacBook and smartphone with the same charger because of USB-C and the USB power delivery specification.

But the Fair Share part is a bit weird, consumers already pay for the network. But often they don't pay for the amount of data that they use. It would make more sense to just charge users again based on their network usage, but I understand that that would be highly unpopular. In the end, someone has to pay for all the traffic though.

[-] Pekka@feddit.nl 13 points 1 year ago

Some google searches already give me Lemmy posts, so it seems to work. I think indexing Lemmy posts takes more time, as I couldn't find my 'blog article' about hosting Lemmy on a Raspberry Pi or the community where it was posted yet trough Google yet. But I was able to find older communities on Feddit.nl, So most of the posts probably can't be found yet, as they simply are too new.

1
submitted 1 year ago by Pekka@feddit.nl to c/about_lemmy@feddit.nl

Last time we discussed how to set up Lemmy locally, this time we will discuss setting up Lemmy in production mode on a Rasberry Pi with functioning image upload by using Docker. This time we have to deviate more from the official guide as some things don’t seem to work. To follow this guide, you will need a basic understanding of the terminal and a Raspberry Pi 3 or 4 (I have only tested this on the Raspberry Pi 4). If you are on Windows 10 or 11 you can use OpenSSH in PowerShell.

Setting up the Raspberry Pi

To prepare an SD card for the Raspberry Pi, download the Raspberry Pi Imager. Insert the SD card, select the Raspberry Pi OS Lite (64-bit) and make sure you pick the SD card for Storage. You could pick the full version of the OS, but make sure you pick a 64-bit version of Debian Bullseye. Before clicking “Write”, go click on the settings icon and enable ssh. You can also set up a user, hostname, authorization keys and WiFi.

Now insert the card into your Raspberry Pi, connect power and you should be able to ssh to the pi. So, with the default pi user, that would be ssh pi@raspberrypi.

Installing Docker

To install Docker we have to follow the Docker Debian installation guide (The Raspian guide leads to a configuration that won’t be able to find any stable docker installation).

First, we have to install the dependencies for adding the new repository:

sudo apt-get update

sudo apt-get install ca-certificates curl gnupg

Add Docker’s official GPG key:

sudo install -m 0755 -d /etc/apt/keyrings

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

sudo chmod a+r /etc/apt/keyrings/docker.gpg

And set up the Docker repository: echo \ "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Now we can install docker and docker-compose:

sudo apt-get update

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose

To be able to run docker command without using sudo we have to add our current user to the Docker group:

sudo groupadd docker

`sudo usermod -aG docker $USERz

newgrp docker

Configuring Lemmy

We need to download a few configuration files. The configuration files listed in the guide don’t support Arm64, so I took the files from Lemmy 1.17.3 and modified them, so they pick the ARM version of the docker images. The NGINX configuration does work, but it is included to make the download simpler:

curl https://gist.githubusercontent.com/Fireblade75/95a0dfa7abbedff554eb9109434060cd/raw/5cf6eddbe706dd25b84234ce619f18a4faca854a/docker-compose.yml -o docker-compose.yml

curl https://gist.githubusercontent.com/Fireblade75/95a0dfa7abbedff554eb9109434060cd/raw/5cf6eddbe706dd25b84234ce619f18a4faca854a/lemmy.hjson -o lemmy.hjson

curl https://gist.githubusercontent.com/Fireblade75/95a0dfa7abbedff554eb9109434060cd/raw/5cf6eddbe706dd25b84234ce619f18a4faca854a/nginx.conf -o nginx.conf

If you want to change the default password of the database, make sure that you change it both in the docker-compose file and the lemmy.hjson configuration.

Now we can run docker-compose up, this downloads all the containers and starts the Lemmy server. Check the logs for errors and see if there is anything we still need to solve. When the services are done starting, we can stop the cluster again by pressing control + C.

A problem I had was that the image server did not get the right permissions to the location where it wants to store its files. To solve this, we simply have to run the following command:

sudo chown -R 991:991 volumes/pictrs/

Running Lemmy

When all errors are solved, we can start the cluster in detached mode. Let’s first destroy the containers by using docker-compse down. And after that we can run docker-compose up -d. The containers should start now, but this time docker-compose is running in detached mode, this mode does not block the terminal and lets Docker run in the background.

You now have a working installation of Lemmy on a Raspberry Pi. It listens to port 80, so you should be able to navigate to it from other devices in your network. For example, by going to http://raspberrypi/ . The default user is lemmy and its password is lemmylemmy, this is configured inside the lemmy.hjson file. If you later want to update Lemmy to a newer version, you can just change the version of the Docker images inside the docker-compose file.

Hopefully this helped you understand how to set up Lemmy, if you have any question please ask.

1
Community Icons (gist.github.com)

Ik zag dat ze bij Beehaw nu één stijl aan icoontjes aan houden. Dat ziet er erg leuk en herkenbaar uit. Natuurlijk is het ook goed dat je gewoon een community kan oprichten zonder dat je je daar super druk over hoeft te maken.

Ik vond het zelf alleen wel leuk om iets van een gezamenlijke stijl aan te houden voor de icoontjes die ik maakte, daarom koos ik voor de stijl van onze nu al meestgebruikte community !nieuws@feddit.nl. Wil je ook net zoals !nieuws en !tech@feddit.nl deze stijl aanhouden, dan kan je het SVG-bestand van de Tech community gebruiken als basis: https://gist.github.com/Fireblade75/005f4d398eb67c970bbd2e3f5d77b24f

2
submitted 1 year ago by Pekka@feddit.nl to c/webdev@programming.dev

Theo, a former Twitch employee, that now is one of the larger tech streamers on Twitch, made a video where he quickly goes over both react-email and Resend. Resend is a new service hat makes it easy to set up email for your website, and it is very affordable for small projects. It even comes with a free tier.

1
submitted 1 year ago by Pekka@feddit.nl to c/about_lemmy@feddit.nl

cross-posted from: https://beehaw.org/post/574562

Here's a laundry list of sort with tons of tools we'd like to see

  • Role for approval of applications (to delegate)
  • Site mods (to delegate from admins)
  • Auto-report posts with certain keywords or domains (for easier time curating without reports)
  • Statistics on growth (user, comments, posts, reports)
    • User total
    • MUA
    • User retention
    • Number of comments
    • Number of posts
    • Number of reports open
    • Number of reports resolved
  • Sort reports
    • by resolved/open
    • by local/remote
  • Different ways to resolved a report
    • Suspend account for a limited amount of time rather than just banning
    • Send warning
  • Account mod info
    • Number of 'strikes' (global and local) and reports
    • Moderation notes
    • Change email
    • Change password
    • Change role
  • Ability to pin messages in a post
  • Admins should be able to purge
  • Filter modlog to local
  • Better federation tools (applications to communities, limiting)
    • Applications to communities to allow safe spaces to exist (people should not be able to just "walk in" on a safe space - similarly to follow requests in Mastodon in a way)
    • Limiting (Lock our communities down from certain instances but still allow people using our instance to talk to people from those instances)

Obviously considering the moment when this is being made - federation tools are our highest priority.

1
submitted 1 year ago by Pekka@feddit.nl to c/tech@feddit.nl

ChatGPT, Microsoft Bing, Google Bard - al die chatbots die afgelopen jaar zijn verschenen, werken op basis van grote taalmodellen. Het lijkt zo simpel: je stelt een vraag en je krijgt antwoord. Maar onder de motorkap zijn het razend ingewikkelde systemen, die alleen zo goed kunnen werken omdat ze zoveel training hebben gehad. Hoe werkt dat precies? En wat zijn precies de risico's en bezwaren van deze nieuwe technologie?

1
submitted 1 year ago by Pekka@feddit.nl to c/about_lemmy@feddit.nl

We all know that Lemmy is part of the Fediverse, but how does it do that. This is done trough federating with both other Lemmy servers, but also by implementing the ActivityStreams protocol sot it can communicate with other applications on the Fediverse.

The linked document describes the protocol and how it should work.

1
submitted 1 year ago by Pekka@feddit.nl to c/tech@feddit.nl

De Nederlandse Kiesraad gaat kijken of de software die bij verkiezingen wordt gebruikt in de toekomst niet meer via een cd-rom hoeft te worden verstuurd. Dat gebeurt nu wel met de testsoftware, maar veel computers hebben geen cd-romlades meer.

1
submitted 1 year ago* (last edited 1 year ago) by Pekka@feddit.nl to c/about_lemmy@feddit.nl

If you want to help with the development or just want to test things with your own Lemmy instance, you will have to set up a local instance on your own PC. This is not that hard, but it is not uncommon that you will do something wrong and if you are not, that experienced with the technology that is used, it can be hard to understand the error messages that you receive. That’s why I wrote this blog to help developers to run their own local instance.

So when setting up your local instance, it is a good idea to read the official guide for local development. We will now set up both the API/back-end and the front-end.

The back-end

First, we need the rust toolchain. The easiest way is to just get Rustup by following the installation command you find on this website.

Now before we start checking or building the back-end we need to install all required libraries.

For Debian-based (like Ubuntu) this is:

sudo apt install git cargo libssl-dev pkg-config libpq-dev curl postgresql

For Arch-based this is:

sudo pacman -S git cargo libssl-dev pkg-config libpq-dev curl postgresql

For macOS, you can just install postgresql:

brew install postgresql brew services start postgresql /usr/local/opt/postgres/bin/createuser -s postgres

Now we need to add a db user for Lemmy to the database. Sometimes psql cannot be found, in those cases you can often just switch to the postgresql user with sudo su postgres

psql -c "create user lemmy with password 'password' superuser;" -U postgres psql -c 'create database lemmy with owner lemmy;' -U postgres

You can change the password if you want, in that case remember the password you entered.

Now we have everything we need for the back-end, it is time to download the Lemmy project.

git clone https://github.com/LemmyNet/lemmy.git --recursive git clone https://github.com/LemmyNet/lemmy-ui.git --recursive

Make sure you don’t forget the --recursive flag, it is required to download all the code.

Now we can have a look at the configuration of the back-end. In the “lemmy” project there should be a folder named “config”, in this config file are 2 files, defaults.hjson and config.hjson. If you need to make settings to your server, you can make those in the config.hjson file. You can use this to change the password of the database, for example. The defaults.hjson file should help with finding out how this can be done.

Now we can check if everything works correctly, open a shell in the “lemmy” project (this is the back-end). There should be a Cargo.toml file in this folder.

Here you can now run cargo check to check if everything compiles. This should run fine, and then you can run cargo run. Now you should have a running server.

After making changes, you need to format the code with cargo +nightly fmt --all and run the linter with ./scripts/fix-clippy.sh.

The front-end

To get started with the front-end we need both Node and Yarn. Node is available through brew with “brew install node”, but you can also install it from the Node.js website. For many Linux distributions, it is also possible to use your package manager.

Then we still need Yarn, there are again multiple ways to install Yarn, the recommended way to install yarn is trough corepack, this is explained on the yarn website. You can also install it through brew with “brew install yarn” or simply trough npm with npm install -g yarn. I went for the npm route.

After installing yarn, you can install all node dependencies with yarn install and start the development server with yarn start.

Image uploads

We did not set up an image server, so you won’t be able to upload images. The docker setup does support this, but for general development building the docker containers is too slow.

Windows

I haven’t tried this out on Windows, but you should be able to follow all the Linux steps with Windows subsystem for Linux. You might be able to get it to work natively, but some installation steps will be different.

4
submitted 1 year ago by Pekka@feddit.nl to c/europa@lemmy.world

Google may soon be ordered to break up its lucrative ad business, which amounted to nearly $225 billion in 2022 and represented nearly 80 percent of Google's total revenue.

2
submitted 1 year ago by Pekka@feddit.nl to c/2007scape@lemmy.world

I generally like No Help's videos about OSRS, he keeps a very relaxed an accessible theme. This time he made a Vorkath guide.

[-] Pekka@feddit.nl 11 points 1 year ago

Isn't the official Reddit app also just a third party app that they bought 😅. It really starts to sound like he just tries to say anything that could help divide uninformed users from third party app developers, even if it makes no sense and everybody with some knowledge about Reddits history knows it is a lie.

1
submitted 1 year ago by Pekka@feddit.nl to c/runescape@lemmy.ml

June 19th Jagex will add the Woodcutters' Grove to Fort Forinthry. With this update, they will also rebalance the woodcutting skill and even add the new Imcando Hatchet. This will make cutting logs from slow trees like magic trees a lot faster and more in line with the current state of the game.

[-] Pekka@feddit.nl 13 points 1 year ago

Is that this feature?

That seems to work yes, but still that number seems to go all over the place sometimes (a bit before this post had over 400 upvotes, and a few seconds later it is back at 6 again). The hover number does stay the same, though.

2

Svelte 4.0 Beta is out. The most important changes are the minimum requirement of Node 16, TypeScript 5 and Webpack 5 (although the use of Webpack is not recommended)

Svelte 4.0 focusses on structural improvements of the project and comes with better types for use in TypeScript. Even though the project, itself, is now moving to JSDoc (they say that this makes library development a lot faster). More impactful changes are expected in Svelte 5.

[-] Pekka@feddit.nl 11 points 1 year ago

Yea true, so you would just get a timeout (or an error from the DNS server that the domain does not exist if you use a 'government approved' DNS server.

[-] Pekka@feddit.nl 14 points 1 year ago* (last edited 1 year ago)

I already had to use the cached version of a Reddit thread today to solve a technical issue I had with the rust compiler. There is so much valuable content there that is well indexed by search engines, let's hope they don't lock down the site even further to prevent AI's from training on their data.

Although, in that case, Lemmy can take over as the searchable internet forum.

view more: ‹ prev next ›

Pekka

joined 1 year ago
MODERATOR OF