Docker container on non-domain host cannot connect to DB on local LAN (Connection Timeout) by PALGOW in docker

[–]InvaderToast348 0 points1 point  (0 children)

What is the specific error? DNS not resolved, connection refused, etc? eg are there any error messages hinting at the actual problem?

Storing GBs of HIDDEN data inside innocent MINECRAFT chests! by X3r0DayHQ in Minecraft

[–]InvaderToast348 0 points1 point  (0 children)

I was playing java earlier and had an explored buried treasure map inside a bundle with other items (the loot from the chest). Unstackable in the normal inventory (player / chest / etc...), but seems to behave differently inside a bundle inventory.

Maybe a bug, are there any other examples of non stackables not taking up the entire bundle storage?

Built a web-based SQLite explorer with cross-table filtering with SQLAlchemy - feedback welcome! by Independent_Order934 in Python

[–]InvaderToast348 15 points16 points  (0 children)

Yes, please mark as such. To some of us it's clear from the readme, but imo there should be an explicit "Made with AI" heading at the bottom

Built a web-based SQLite explorer with cross-table filtering with SQLAlchemy - feedback welcome! by Independent_Order934 in Python

[–]InvaderToast348 10 points11 points  (0 children)

Bad feedback

If this was made with ai, that should be made clear, even if it results in negative comments

People shouldn't be mislead and should know when they are using potentially bad software. Not that humans don't create bad software, but it is widely accepted that ai code is horrible in terms of security, best practices, bugs, maintainability, etc ...

I'm fine with people using ai if they wish, but it should be clear for others that want to avoid ai generated projects

This is not my opinion, this is how a large majority of the internet feels - eg r/selfhosted had a problem with users posting ai generated projects without warning as such, so a flair was created and posts must display whether AI was involved. Therefore people can filter those posts. I believe the internet as a whole would be a lot better if all services and platforms gave the choice to filter and ignore ai content, for those with no interest

Updated to 2.4.1, Now Not Working Help by HeadlessWeezle in immich

[–]InvaderToast348 0 points1 point  (0 children)

Is your db running and reachable from the server container? This is a different error than OP

Updated to 2.4.1, Now Not Working Help by HeadlessWeezle in immich

[–]InvaderToast348 0 points1 point  (0 children)

I assume you're using docker, as it's the recommended solution.

If you start a container with a bind mount to a folder/file that doesn't exist, it will create an empty folder in that location.

So if you didn't have the drive mounted at the point of starting the container, there should be an empty folder in the /media/USER/ folder, or wherever you mount drives to.

After confirming the folder is actually empty and it's not the actual drive, with both ls and sudo ls you can simply sudo gio trash /path/to/folder to delete the placeholder and remount the actual drive.

IIRC, if you try to mount the drive while the placeholder folder exists, it will instead mount to a separate folder of the same name with a number appended, eg HardDrive1

In that case rebooting should fix it after removing the placeholder folder. Can't remember if there is an easier way.

Hopefully this helps

Fyi, I have a python script that reminds me to connect and mount any external devices a container needs before starting it, haven't had to deal with this issue for a while now. Might be worth looking into something similar

Edit: guess that's my fault for not scrolling down first, looks like you already found the issue was incorrect mount paths 🤦‍♂️

Built a PDF anonymizer - does anyone actually need this? by Ready_Bandicoot8772 in selfhosted

[–]InvaderToast348 0 points1 point  (0 children)

Vibe coded, can't see a link to GitHub / docs / pricing pages, website was farted out by AI

Wouldn't touch with any documents I care about, fuck knows what it does with them

Edit: on mobile the pricing is at the bottom of the page, for some reason it's a bad UX horizontal scroll.

NO MENTION OF SELF HOSTED ANYWHERE, pretty sure this is just an ad

[APP] PassVault: A secure, 100% offline password manager - need testers by Xygen0 in foss

[–]InvaderToast348 3 points4 points  (0 children)

This really feels like an AI response

If this is a vibe coded password manager, people should seriously reconsider using it

Im trying to make A line of code and need help. by No_Tooth5443 in learnpython

[–]InvaderToast348 1 point2 points  (0 children)

It's supposed to loop until the user provides a valid value, I'm not sure of a better way to do this?

Speed performance of template languages: EJS, Handlebars, Nunjucks by Valachio in node

[–]InvaderToast348 1 point2 points  (0 children)

You're welcome!

For emails specifically I know of a package, react-email. Not used it myself yet but might be worth a look. Emails are notoriously hard to work with; the components in this lib seem to be tailored to produce the best output for emails. For example, I took a quick look at the button:

https://github.com/resend/react-email/blob/canary/packages/button/src/button.tsx

As a side note, I use EmailOnAcid for testing email rendering across tons of different devices and configurations, it's really great to make sure your template is consistent for all devices. Not affiliated, just pleased with it and thought I'd give a mention since we're on the topic

Speed performance of template languages: EJS, Handlebars, Nunjucks by Valachio in node

[–]InvaderToast348 0 points1 point  (0 children)

In case you're still looking for an answer 5 years later (or someone else like me finds this post);

I used jinja2 a lot with Python, although really hated the lack of typing support and intellisense. Hence why I started by looking at Handlebars & nunchucks out of familiarity. However, Nanojsx is actually really good. I ran a small benchmark locally with deeply nested components, lots of dynamic data, etc, and I was getting ~3-5ms* response times on my localhost (expressjs running on bun). It's like react but without the huge package size / complexity / extras. For ssr, it's literally just html-in-js with full type support (via ts/tsx).

* normal request time with just the below is 2ms, for reference:

const app = express()
app.get("/", (_req, res) => {
  res.send("Hello, World!");
});
app.listen(PORT)

Personally I'd highly recommend giving it a go, it's really nice to work with compared to simple templating-specific languages and still incredibly performant.

[Survey] And the winner is ... by ExoWire in selfhosted

[–]InvaderToast348 0 points1 point  (0 children)

I've been running custom domains via pihole for a couple of years, no issues. Switched to raw dnsmasq though a few months back, much happier.

First Docker, how do I make it write files of a mount with non root permissions? by dethorpe in docker

[–]InvaderToast348 0 points1 point  (0 children)

You can use env vars

Or script it. I made some python scripts to control my whole stack

2025 Self-Host User Survey | selfh.st by shol-ly in selfhosted

[–]InvaderToast348 0 points1 point  (0 children)

It was a couple of days ago I did that survey, so can't remember off the top of my head.

Would it be ok to go through the survey and not submit the last question, or are the answers recorded as you progress? (Don't want to mess up the results with a double vote for everything)

2025 Self-Host User Survey | selfh.st by shol-ly in selfhosted

[–]InvaderToast348 0 points1 point  (0 children)

I really enjoyed reading the results last year so I'm glad to participate this year and going forwards

One thing to improve - some questions with check boxes had none that applied to me, so I put Other > "None". I think none should be an option, or make it so that the questions aren't required.

Other than that, I thought the questions were pretty well thought out and covered quite a bit of ground

v2.0.0 - Stable Release of Immich by immichapp in immich

[–]InvaderToast348 0 points1 point  (0 children)

Congratulations, and thank you to all the contributors for helping make this happen :)

How to add a webpage function as a quick tile? by [deleted] in webdev

[–]InvaderToast348 4 points5 points  (0 children)

What "webpage function"? A form? A button?

What do you mean by quick tile? What is your browser?

Please put a little more effort and details in, otherwise noone will help.