blotz

joined 1 year ago
[–] blotz 3 points 5 months ago

Pixel sorting!

[–] blotz 93 points 5 months ago (3 children)

The joke is the absurd and funny statement, "ladies, my wife is single (and you should date her (implied))". Basically they are best friends who broke up and now they are supporting the other dating by joking absurdity of the situation.

[–] blotz 2 points 5 months ago

Ah yeah that should be good. I've never had issues with NFS

[–] blotz 2 points 5 months ago (2 children)

What method are you using to mount the nas for immich. I ran into issues trying to mount my Nas using docker volume+sshfs but ran into zero problems using docker volume/cifs. With sshfs, immich would run until it suddenly stopped working and backups would constantly fail. Restarting the server would cause it to run for a little time longer.

[–] blotz 3 points 5 months ago (5 children)

I think the issue might be that the config changes haven't been properly committed. Docker container won't just update based on docker compose config.

docker container stop
docker container rm

You might want to delete and reset any settings which have been set

docker volume ls
docker volume rm (IDs from docker volume ls)

(This will also wipe out any backups/accounts made on immich already tho)

But once you have deleted the old containers, running docker compose up -d will start the containers with the new config. You can use docker compose logs -f to see the server logs and check if everything is working.

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

Okay wow. I looked into your repo and its a really interesting implementation of a DSL. I think I get what the code is trying to do? You run shimky through bash and it turns into python code? meta programming stuff! I think its a regular language? its hard to tell.

So I've actually been studying DSLs for a few months and I can recommend some ways for you to improve this code if you want.

[–] blotz 23 points 7 months ago (3 children)

Rage bait post

[–] blotz 3 points 7 months ago (1 children)

What's the best way to support you? You list multiple ways to support you (Kofi, librepay, etc). Do you know which one gives you the best split?

[–] blotz 6 points 7 months ago

Pmjv moment

[–] blotz 4 points 7 months ago

+1 ai tools are fine if you already know what you want to write and it speeds up the process of coding. But when ai tools are writing code you don't understand, you cannot verify that any of the code is actually correct and doesn't introduce bugs. Ditto for copy-pasting.

[–] blotz 38 points 7 months ago

Fuck around and find out

 

I am the Anti-Rust programmer, I will call other code in Rust. I will call other code in Rust because it is coding is hard. As I am the Anti-Rust programmer, I will keep writing rust until my computer breaks, I will not use proper coding practices. Because I am the Anti-Rust programmer, my computer will be unstable and crash.

I will come to you when you are sleeping, and include random malloc(s) in your code. If I find javascript on your computer, I will use implicit type conversion. Do not try to stop me, if you try to stop me, I will do it anyways. I am the Anti-Rust programmer. If you program in javascript. You will be fine :).

You will be sleeping as I rewrite your computer. You will not notice me as I am the Anti-Rust programmer. I am slow, but I will make your computer slower. I understand your computer, as it doesn't understand me. After I rewrite your computer, you will hate your computer. You will hate your computer because it is unstable and crashes. I will do the same to all computers because I am the anti-rust programmer.

I will not stop at your computer. I will rewrite the world because I can. Your brain is written using good programming practices. If your brain is written using good programming practices, you will hate what I do. I will rewrite your brain. You cannot stop me from linking different languages together, as I am the anti rust programmer. After I rewrite you, you will enjoy constant memory leaks. You will forget everything all the time. I am the anti rust programmer.

I will rewrite the world. I will rewrite quantum mechanics because I can. I will not tell you all my plans before I rewrite you. It is because you are perfectly normal and will hate my changes. I am the anti rust programmer. You will forget me because you are full of memory leaks.

40
submitted 8 months ago by blotz to c/sourdough
 

Took y'all's advice to heart and it's looks like it's working well!

18
submitted 8 months ago* (last edited 8 months ago) by blotz to c/sourdough
 

Not my best bread ever but this is pretty normal issue. I totally over proofed it because I fell asleep during the proof xD

74
submitted 10 months ago* (last edited 10 months ago) by blotz to c/[email protected]
 
// At this point, I'd like to take a moment to speak to you about the Adobe PSD 
// PSD is not a good format. PSD is not even a bad format. Calling it such would be an
// insult to other bad formats, such as PCX or JPEG. No, PSD is an abysmal format. Having
// worked on this code for several weeks now, my hate for PSD has grown to a raging fire
// that burns with the fierce passion of a million suns.
// If there are two different ways of doing something, PSD will do both, in different
// places. It will then make up three more ways no sane human would think of, and do those
// too. PSD makes inconsistency an art form. Why, for instance, did it suddenly decide
// that *these* particular chunks should be aligned to four bytes, and that this alignement
// should *not* be included in the size? Other chunks in other places are either unaligned,
// or aligned with the alignment included in the size. Here, though, it is not included.
// Either one of these three behaviours would be fine. A sane format would pick one. PSD,
// of course, uses all three, and more.
// Trying to get data out of a PSD file is like trying to find something in the attic of
// your eccentric old uncle who died in a freak freshwater shark attack on his 58th
// birthday. That last detail may not be important for the purposes of the simile, but
// at this point I am spending a lot of time imagining amusing fates for the people
// responsible for this Rube Goldberg of a file format.
// Earlier, I tried to get a hold of the latest specs for the PSD file format. To do this,
// I had to apply to them for permission to apply to them to have them consider sending
// me this sacred tome. This would have involved faxing them a copy of some document or
// other, probably signed in blood. I can only imagine that they make this process so
// difficult because they are intensely ashamed of having created this abomination. I
// was naturally not gullible enough to go through with this procedure, but if I had done
// so, I would have printed out every single page of the spec, and set them all on fire.
// Were it within my power, I would gather every single copy of those specs, and launch
// them on a spaceship directly into the sun.
//
// PSD is not my favourite file format.
71
submitted 10 months ago* (last edited 10 months ago) by blotz to c/coffee
 

I mainly want to get a coffee grinder because beans have a longer shelf life and are cheaper. If I also get better coffee, that's a bonus! (Basically, I'm not looking for a premium option)

What is something I should pay attention to when buying a grinder. I see people mention "flat burr" grinders all the time. Is that something important?

A few years ago I bought a cheap terrible manual coffee grinder off Amazon. It took 5-10mins to grind my coffee. The grounds where too course and my hands hurt. Is the experience better with higher quality manual grinders? At the moment, I'm not a huge fan of manual grinders because of this experience and am leaning towards buying an electrical one.

What makes a coffee grinder better than others? What is the difference between premium and budget options?

26
submitted 11 months ago by blotz to c/boostforlemmy
 

Is there a way to directly support boost without going through Google play? If not, that's okay as well.

 

I'm between distros and looking for a new daily driver for my laptop. What are people daily driving these days? Are there any new cool things to try?

I have been using linux mint recently. I have used nixos and arch in the past. Personally, linux mint uses flatpacks too much for my liking. Although, I might have a warped perspective after using arch. (the aur is crazy big)

72
Lemmy on a raspberry pi (self.selfhosted)
submitted 1 year ago* (last edited 1 year ago) by blotz to c/selfhosted
 

Does anyone run their own Lemmy instance on a pi? How was the process of setting it up? Were there any pitfalls? How is performance?

[Edit] So a lot of testing around. Compiling from scratch, etc, etc...

So far i have tried

  • installing lemmy using rootless docker (on 0.17.3)
  • compiling the image 0.18 docker image as arm

rootless docker did not work well for me. lots of systemd issues and i gave up after running into a lot of issues. I tried rootless docker for security reasons. minimal permissions, etc.

When trying to compile the latest lemmy image in arm, i ran into issues with muslrust not having an arm version. It might be worth investigating rewriting the docker file from 0.17.3 to work with 0.18.0 but i haven't investigated that fully yet! I tried compiling the latest image because i wanted to be able to use the latest features

At the moment, I'm trying to set lemmy to run under bare metal. Im currently attempting to compile lemmy under arm. If that works, i'll start setting up .service files to start up lemmy and pictrs.

view more: next ›