Pekka

joined 1 year ago
MODERATOR OF
[–] [email protected] 4 points 5 months ago (1 children)

There is indeed quite a shift towards just posting articles. A lot of people don’t regularly post (at least it was like that on Reddit), and for those people, the articles are great.

It is hard to keep conversations active in smaller communities. As people will quickly stop posting new chats and questions if there are no replies.

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago) (1 children)

It would be nice if Jagex would confirm that it is fine to use this laucher. As far as I know we have no more information than this tweet from Mod Ash: https://x.com/kaelygon/status/1763667578315042847 Bolt does work the same as the official launcher, so it should not be a problem…

[–] [email protected] 7 points 5 months ago (1 children)

Fedora might be a good option, but it might require more setup with an Nvidea GPU. They use Wayland now, are a Gnome based distro, support full disk encryption. For me the package mangar has been fine, and they do support flatpak. It is a very large distro with backing from RedHat. So it should generally be stable.

Pop_OS! Seems to be the great distro if you just want to game and watch videos without any issues arround setting up the drivers. It has been a quite stable distro for me and it is quite similar to Ubuntu. Unfortunately this distro doesn’t have Wayland yet.

Manjaro is an Arch based distro, but it had some issues with using packages from the AUR. They do run Gnome on Wayland by default.

[–] [email protected] 3 points 5 months ago

Ik had ze zelf nog niet eerder gezien. Lokaal valt er waarschijnlijk meer te behalen ja. Er zijn dan veel minder kiezers nodig en soms worden kleine partijen juist uitgelicht. En alleen al meer andacht is misschien al genoeg om de publieke opinie een beetje te beïnvloeden.

[–] [email protected] 3 points 5 months ago

I started with an openSUSE dual boot with KDE. I didn't use Linux a lot at that point. Later, I switched to Ubuntu on a laptop for about a year and used that until I bought a MacBook. Eventually, I returned to Linux by running Pop!_OS on my desktop, but games were a bit choppy, and I really wanted to just run Wayland. I also started to use RHEL at work for our servers. So now I'm trying to switch to Fedora. I still have some issues with the Jagex Launcher, but aside from that, everything seems to work great now.

At home, I have also had an Ubuntu Server for many years, and I also run Ubuntu Server on my VPS.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago) (2 children)

Wat een raar verhaal, waarom zou de Chinese overheid geld steken in het steunen van zo'n kleine partij die nooit zetels gaat halen. Ook heeft deze partij andere standpunten in het Nederlands dan dat het heeft in de Chinese media. (Zo zegt RTL: Vertegenwoordigers van de partij hebben sterke pro-Chinese standpunten, maar uiten die alleen in Chinese media.). Dus het is ook geen eenvoudige promotie van Chinese standpunten.

[–] [email protected] 9 points 5 months ago* (last edited 5 months ago) (1 children)

This looks great. That would be quite a powerful low-weight machine with long battery life. If they won't be too expensive (and gaming works on them) I might get one. At least RuneLite seems to already support ARM64 on Linux and these chips also put more spotlight on ARM trough Windows on ARM.

[–] [email protected] 2 points 8 months ago

Ze zijn bij de VVD blijkbaar over de problemen met regeren met de PVV heen en willen graag een echt rechts kabinet. Maarja dan moeten ze wel de NSC overtuigen om toch met de PVV samen te gaan werken… terwijl ze kort geleden nog met ruzie uit elkaar gingen.

Ik snap wel dat de VVD bang is voor een kabinet onder Timmermans, bij de volgende verkiezingen zal extreem rechts ze dan verwijten verantwoordelijk te zijn voor links beleid.

[–] [email protected] 1 points 8 months ago

I got the boardgame last week, haven’t played it yet. The art and boxes all seem quite good. I’m looking forward to playing it.

[–] [email protected] 1 points 1 year ago

If you would just stick to playing games on the Quest 2/3 directly that should be fine. The Quest 2 can run basic games, so it does limit you a bit. For example VR Chat has some worlds with too many assets that are not playable on the Quest 2 directly. From what I remember you would be limited to Meta’s store though.

Unfortunately VR seems to be a niche thing so I doubt this will get a lot of priority on Linux.

[–] [email protected] 6 points 1 year ago (2 children)

I searched for a fish related video on PeerTube and put the URL (https://video.ploud.jp/w/ddbf542e-d4b6-4778-abed-8c51799188a4) in the search bar of my Lemmy instance, after a bit the video was available like here just as a regular Lemmy post. You should now be able to reply to it from Lemmy.

[–] [email protected] 5 points 1 year ago (1 children)

Flatpak and Snap definitely make installation more simple. The packages come with their own dependencies so you have way less issues with conflicting dependencies. I like them when they are officially supported by the distribution or developer, but I prefer the official installations over supporting a random person making a package (not sure if this is a thing with Flatpak, but with Snaps that was definitely a thing).

Some software really benefits from not begin inside flatpak though, I had to switch back to the deb version of Visual Studio Code as the integrated console didn't have access to some software outside the package and was also logging weird errors.

 

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.

 

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 [email protected]. Wil je ook net zoals !nieuws en [email protected] deze stijl aanhouden, dan kan je het SVG-bestand van de Tech community gebruiken als basis: https://gist.github.com/Fireblade75/005f4d398eb67c970bbd2e3f5d77b24f

 

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.

 

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.

 

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?

 

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.

 

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.

 

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.

 

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.

 

Met een inkoopprijs van 23 euro per megawattuur (MWh) op 1 juni leek de gascrisis voorbij, maar nu blijkt hoe grillig de gasprijzen zijn. De prijs van gas sloot gisteren op ruim 40 euro per MWh en naderde eerder op de dag zelfs even de 50 euro per MWh. Oorzaken: de stijgende vraag naar gas in China en minder aanbod uit Noorwegen.

 

De koninklijke trein gaat met pensioen. Na bijna 160 jaar zullen het koningshuis en buitenlandse staatshoofden niet meer met het rijtuig reizen. Het vervoersmiddel is aan het einde van zijn levensduur, meldt de NS. In de toekomst reist de koninklijke familie met reguliere treinen.

view more: ‹ prev next ›