blotz

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

Pixel sorting!

[–] [email protected] 92 points 4 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.

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

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

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

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

[–] [email protected] 5 points 6 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.

[–] [email protected] 29 points 7 months ago (3 children)

Rage bait post

[–] [email protected] 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?

[–] [email protected] 6 points 7 months ago

Pmjv moment

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

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

 

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

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

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

6
submitted 8 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

Linux Mint update caused a lot of issues (wifi stopped working. cinnomen keeps crashing and more). Tried fixing but nothing has worked so I'm reinstalling linux. Issue is, I got no clue what to go with. I've tried most popular distros at one point or another. Which distro has been doing cool stuff lately?

[edit] fixed wifi while waiting for responses LOL. iwlwifi was out of date and had to be manually updated :P (DE is still mega broken tho. Lots of crashes)

[Edit] just realised havent used tumbleweed before. gonna try that now

73
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/programming_horror
 
// 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 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

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?

 

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)

 

All the normal websites have subscriptions and make it a nightmare to print off. I tried looking elsewhere but no where seams to do tabs. Am I missing something obvious?

 

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?

 

Jerboa and Firefox stopped working randomly. I got this error on the browser.

404: FetchError: invalid json response body at http://lemmy:8536/api/v3/site

Not sure if this is the correct place to post or even useful to other people as it appears to be working now.

view more: next ›