pimeys

joined 1 year ago
[–] pimeys@lemmy.nauk.io 2 points 1 day ago (1 children)

In Germany you'll get a fine and lose points from your license if you show a middle finger. Even if you're riding a bike out walking (if you have a license)...

[–] pimeys@lemmy.nauk.io 5 points 1 week ago

Not a sysadmin, but a programmer. My work machines have been:

  • 2003-2008 Windows 7
  • 2008-2011 Ubuntu
  • 2011-2019 Arch
  • 2019-2024 NixOS

Probably going to keep using NixOS. This is a very cool OS.

[–] pimeys@lemmy.nauk.io 41 points 1 week ago

Yeah, I'm also one of these people silently enjoying systemd and wayland. Every now and then there's fuzz on one of these. I shrug, and move on still enjoying both of them.

[–] pimeys@lemmy.nauk.io 0 points 2 weeks ago

Been watching a movie per day for quite a long time now. There are many great ones. Just watch all the genres from all over the world and from different decades, you'll find them.

[–] pimeys@lemmy.nauk.io 8 points 2 weeks ago (1 children)

Steely Dan. The worst part would be I won't stop talking about the drum solo in Aja.

[–] pimeys@lemmy.nauk.io 2 points 2 weeks ago (1 children)
[–] pimeys@lemmy.nauk.io 12 points 2 weeks ago (2 children)

A big monitor with 100% AdobeRGB is going to be very very expensive. And if you want it to be 65", you just can't find them...

And it is a monitor, meant to be watched from a close distance. It will not be such a great experience for movies and such.

[–] pimeys@lemmy.nauk.io 2 points 4 weeks ago

The winning strategy for us who do not want to gamble but save some extra for our retirement is to stop looking at the daily values, and invest the same amount monthly to a low cost ETF, such as VUAA.

Now, the S&P 500 has been coming up about seven percent yearly if you look into it for a longer period of time. Repeating the monthly investment until you retire is a good way to get enough to retire comfortably.

[–] pimeys@lemmy.nauk.io 9 points 1 month ago* (last edited 1 month ago) (3 children)

128 GB here which runs out if I compile the complete project at work with -j32. And this sucks because 128 GB right now means the RAM cannot run super fast, meaning it is a bottleneck to any modern Ryzen...

[–] pimeys@lemmy.nauk.io 7 points 1 month ago (1 children)

A random hacker news comment. I'm in EU, where this kind of tracking is not legal, so I cannot validate...

 

I'm looking for a service I could install to archive a huge pile of letters, preferably in PDF form, to a database. I'm living in a country where paper is still king, and digital services are either non-existent, or loathed (Germany). My current situation is that I have a mailbox with lots of PDFs all over the place, but also many folders of paper sent in 2007 etc. that I have to keep, but I also have to find them every five years or so.

So what I'd like to have is a service to my homelab, where I could scan these and copy these, that would index them, clean them, OCR them and all that good stuff. It should have really good metadata abilities, because my files are usually named in a very random way, so if I could copy these, and quickly categorize them, that would be really awesome.

There is one service called Papermerge, that kind of fits to my use-case. I spent one afternoon with it, and there were a few issues:

  • crashes quite often
  • when sending a large folder of PDFs, uses all the CPU and crashes again
  • categorizing functions are not very good, it takes time to get everything together and clean when organizing files

This might not be very interesting if your country has digital services for everything, but for us needing to suffer this paper madness, a service to do so would be great.

15
submitted 1 year ago* (last edited 1 year ago) by pimeys@lemmy.nauk.io to c/lemmy@lemmy.ml
 

I'm running a small Lemmy server using the Ansible setup modified to our needs. Now, we do not post that many (if any) images, but I'm also running an Akkoma server with Cloudflare R2 setup for images, and I was wondering is there an easy way to just set the Lemmy server to use this bucket? Would be better than to just keep them lying around in the server disk for sure.

If somebody else did this, is there any written documentation on the best practices? I might need to (again) modify the Ansible scripts, but I'd love to not waste time making mistakes if there's a good way to do this.

 

cross-posted from: https://lemmy.nauk.io/post/126239

Akkoma is an active fork of Pleroma, which implements ActivityPub protocol underneath and serves an interface similar to microblogging platforms such as Twitter or Tumblr. It implements a complete Mastodon client API, so all Mastodon clients work with it without trouble, even the Mastodon web UI can be installed and used with Akkoma.

Why Akkoma over Mastodon? It's written in Elixir, so it's faster and uses less resources than Mastodon. You can also define a character limit to your posts, use markdown formatting, quote posts and add emoji reactions. Perfect for small personal instances, you can run it super cheap.

 
9
submitted 1 year ago* (last edited 1 year ago) by pimeys@lemmy.nauk.io to c/lemmy@lemmy.ml
 

Trying to follow Kbin communities from my Lemmy instance is a bit broken. If I try to open one, e.g. https://lemmy.nauk.io/c/linux@kbin.social from my instance, It gives me 404 and the logs show the following error:

2023-06-11T11:01:46.475407Z  WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: couldnt_find_community: error decoding response body: missing field `properties` at line 1 column 182
   0: lemmy_apub::fetcher::resolve_actor_identifier
             at crates/apub/src/fetcher/mod.rs:16
   1: lemmy_apub::api::read_community::perform
           with self=GetCommunity { id: None, name: Some("linux@kbin.social"), auth: Some(Sensitive) }
             at crates/apub/src/api/read_community.rs:30
   2: lemmy_server::root_span_builder::HTTP request
           with http.method=GET http.scheme="http" http.host=lemmy.nauk.io http.target=/api/v3/community otel.kind="server" request_id=e1b55819-fd89-4c89-a145-3ba606fb28b7 http.status_code=400 otel.status_code="OK"
             at src/root_span_builder.rs:16
LemmyError { message: Some("couldnt_find_community"), inner: error decoding response body: missing field `properties` at line 1 column 182

Caused by:
    missing field `properties` at line 1 column 182, context: "SpanTrace" }

Is this a known error in 0.17.3, if not, I should file an issue.

Edit: filed an issue

 

I'm trying to follow myself in Lemmy from my Akkoma instance. I can search for @pimeys@lemmy.nauk.io from my Akkoma instance, and find myself just fine. Clicking follow sends a follow request, but it just pending forever and I see no notifications or anything on my Lemmy instance. Do I need to do something from Lemmy to allow following from other instances? Should this even work?

 

This weekend I installed my own Lemmy instance, so I want to share the instructions to help others, who want to do the same.

I used the Ansible script and it was pretty easy. First I wanted to use my existing PosgreSQL server, what I already use for my Akkoma server. It didn't really work out that well, the migrations failed and I couldn't figure out what didn't work. Eventually I just went back using PostgreSQL on Docker. If you don't start modifying the script, and just use the dockerized PostgreSQL, you will have no problems with the installation.

What you need first is a cheap (or expensive, if you decide to invite million friends to your instance) VPS: I use Hetzner Cloud, which has been working for me super well for many years and I'm very happy with the service. I got the second cheapest AMD instance, with two cores and two gigabytes of RAM. Before buying the instance, you need to upload an SSH key to Hetzner. If you don't have one, creating is easy from the command line: ssh-keygen -t ecdsa. What you need to give to Hetzner is your public key; the one with the .pub extension in your $HOME/.ssh directory. Do not give the private key to anyone. Go with Ubuntu, might work the best with the Ansible script.

You can now SSH to the instance: ssh root@<ip-address from the Hetzner control panel>.

Next what you need is a domain name for the server. Lemmy wants an A record, and being a good internet citizen, you also get an AAAA record for the IPv6 users. I use Cloudflare for my DNS records. It's very easy to set them from their control panel. Do not set the proxy on just yet, we'll come back to that later. You can get the IP addresses from the Hetzner panel. The IPv4 you just copy, for the IPv6 you have to replace the ::/64 with ::1.

Now you should be able to ssh to your instance with the new domain name. It's time to follow the Ansible instructions for Lemmy, just run the script and see it's done correctly with no errors. When you can login to your Lemmy instance as an admin, go back to Cloudflare and turn on proxying to your A and AAAA records to hide your server IP and prevent DDOS attacks.

The first time federation is a bit slow in the beginning. Go to search in your instance, and search for !lemmy@lemmy.ml. It takes a while for the result to arrive. You can SSH to your instance, and look for the logs of your Lemmy image:

root@lemmy:~# docker ps
CONTAINER ID   IMAGE                        COMMAND                  CREATED        STATUS        PORTS                                NAMES
9e940b84cc45   dessalines/lemmy-ui:0.17.3   "docker-entrypoint.s…"   22 hours ago   Up 22 hours   127.0.0.1:6719->1234/tcp             lemmynaukio_lemmy-ui_1
6442d9d93554   dessalines/lemmy:0.17.3      "/app/lemmy"             22 hours ago   Up 22 hours   127.0.0.1:20926->8536/tcp            lemmynaukio_lemmy_1
36a030f7bf27   asonix/pictrs:0.3.1          "/sbin/tini -- /usr/…"   22 hours ago   Up 22 hours   6669/tcp, 127.0.0.1:8934->8080/tcp   lemmynaukio_pictrs_1
979be89076b2   postgres:15-alpine           "docker-entrypoint.s…"   22 hours ago   Up 22 hours   5432/tcp                             lemmynaukio_postgres_1
774112d48c87   mwader/postfix-relay         "/root/run"              23 hours ago   Up 23 hours   25/tcp                               lemmynaukio_postfix_1
> docker logs -f 6442d9d93554

This should start showing you the federated posts in real time. Eventually your search will show up, you can click the community open and subscribe to it. Do the same for other communities what you want to follow, federate other instances and eventually you are part of the federation. It gets faster and easier for the other users, but the beginning is a bit slow.

Congratulations, you're now a Lemmy admin and part of the bigger federation.

view more: next ›