pimeys

joined 1 year ago
[–] [email protected] 3 points 4 days ago

Very cool. When this really works, I might install Haiku to my fun and play laptop...

[–] [email protected] 1 points 4 days ago (2 children)

Does Firefox work with Haiku already?

[–] [email protected] 3 points 1 week ago

Ah. And delivered very often in the tiniest possible bottle. One drop of cola that just turns into steam on your tongue.

Where is the kilo of crushed ice and a liter of coke, huh?

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

Just found both of the albums. Can't wait to listen!

[–] [email protected] 6 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Wait, the article says to use parmesan, eggs, pancetta and spaghetti? Uh, it is pecorino, eggs, guanciale and spaghetti. This is basically the only way to get the best results. You can fuck with any other italian pasta, but carbonara is only good if done exactly with these four ingredients. And of course a ton of black pepper.

I know, I tried every possible combination. The only one that makes sense is the one with pecorino and guanciale.

[–] [email protected] 11 points 3 weeks ago

Sway is on wayland and wayland together with systemd is the best thing that ever happened to Linux.

/me throws a smoke bomb to the floor and runs away laughing.

[–] [email protected] 0 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Signal always responds to authorities when they ask for data, and they give them all they have: the day they registered, their phone number and the timestamp they last used the app.

Telegram has unencrypted channels of drug dealing, and what I heard is a lot of illegal porn too. The authorities want information on certain users there and Telegram doesn't comply. This is directly against the law Signal is not breaking, because they always send all the data they have to the law enforcement.

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

This is kind of funny. I live in Germany and I've got better German food in the US. Very often German food here is kind of aiming to be cheap and filling, but kind of bland and boring. There are a few exceptions, and what you say about food from other countries makes a lot of sense.

[–] [email protected] 9 points 3 weeks ago (1 children)

It is one of the most addictive games I've played. The good thing is that it is cheap and doesn't have any microtransactions. And a lot of fun.

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

https://www.tomshardware.com/reviews/tn-panel-twisted-nematic-definition,5767.html

Old thinkpads let you to save 20 euros to get a TN film panel to your company laptop. Great for bean counters, awful screens to look at. Never buy these, always get an IPS screen.

[–] [email protected] 0 points 1 month ago (2 children)

One rule of thumb is to be really sure it doesn't have a tn film screen. IPS at least and even those were really bad up until T490 etc. X1 series has better screens, but you cannot upgrade almost anything to those.

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

Yes. And I feel sad because I haven't been excited on any other OS for years after learning NixOS. I used to be excited about playing with things like FreeBSD, but now they all feel like something's missing...

Not for everybody, but as a software engineer nix/nixos is blessing.

 

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.

17
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

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.

538
pants rule (lemmy.nauk.io)
 

How would a man wear pants?

 
 
107
bat rule (lemmy.nauk.io)
 
 

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 [email protected]. 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 ›