ikornaselur

joined 1 year ago
[–] [email protected] 1 points 1 year ago

I looked into this last week for recurring tasks in an actix-web project and ended up picking fang, but haven't really battle tested it.. But seems to do what I need. I'm using cron tasks with Postgres as the backend to run a recurring task every minute.

[–] [email protected] 2 points 1 year ago

Yeah, I felt the same ad you until I found out the opt in part.

As far as I understand, the only way to get above default base quality is to first create the new modules that will give you a chance of increased quality items, kickstarting a feedback loop of quality items.

But as long as you have base quality materials and base quality machines you get base quality results.. So I think I'm on board, but it was the weirdest update I've seen so far for Factorio

[–] [email protected] 32 points 1 year ago* (last edited 1 year ago) (4 children)

Have you checked out Aegis?

Edit: I missed the Linux requirement, not sure if Aegis works with that in mind

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

Yeah. That's my issue, I love the comics but I bailed out before finishing the first episode because it was just too much. I was excited, but it's just not for me in the end.

[–] [email protected] 1 points 1 year ago (1 children)

Glad you solved it! Definitely sounds like a better solution than playing around in the db

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

Oh yeah, try specifying the hostname as localhost (I think it's -h, but --help will confirm it). Psql tries by default to connect to that socket, but in docker it does use it.

Basically, you'll need to specify the hostname and user (and if port, which should just be default, then -p 5432)

It should be

docker exec -it lemmymydomain_postgres_1 psql -h localhost -U lemmy (dbname)

Keeping in mind that you'll need to have the right user and database name, assuming (based on your original comment) lemmy being the username and the db name might also be lemmy

Edit: this should btw just get you into the db, I have no idea of its a good idea or not to delete a user directly from the db, it might cause issues, but I don't have experience with it, but just generally use postgres in docker with other projects

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (5 children)

You might be able to just run docker-compose exec postgres psql to drop into a shell (you may still need to define the user with -U lemmy)

If you're trying to connect with ane external tool though, you'll need to expose the ports temporarily, which I'm not sure if you can do without restarting the container (after adding the exposed ports to the docket compose file, like 127.0.0.1:5432:5432)

[–] [email protected] 6 points 1 year ago (1 children)

Been a happy namecheap customer for probably around 10 years now, never had any issues!

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Officially, no. I'm an avid caddy user for years and not looking to change, as I'm very comfortable with config files and cli, but I have to admit Zoraxy looks very slick!

I might give it a try soon, I'm starting to embrace more nice UI to work with although I'll always feel most at home in the terminal

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

Oh thank you! I couldn't figure out how to do it in the app I use (Liftoff) but with your comment I checked again and found out how!

This makes "All" so much better to explore, thank you!

[–] [email protected] 7 points 1 year ago (4 children)

It really annoys me, especially as there seems to be at least two lemmy instances that are 99% just a bot reposting everything from reddit.. Really wish I could block whole instances

view more: next ›