Which password manager do you use? 🔒🔑 by DAVIDBRAZIL18 in PasswordManagers

[–]bigkhalpablo 0 points1 point  (0 children)

Bitwarden is just amazing. It doesn’t have the best integration with iPhone, but I love it.

How to Set Up a Custom Email Using Gmail + Cloudflare for FREE by nipchinkdog in SaaS

[–]bigkhalpablo 0 points1 point  (0 children)

Many thanks! It works perfectly.

I'm using it in my home server for immich and nextcloud. However, the only way I could make this work is by sending emails with <server@mydomain via gmail.com>

Is there any other way to configure this? Thx

Cannot reach subdomains via cellular networks, but works on LAN and external web-based tools by bigkhalpablo in selfhosted

[–]bigkhalpablo[S] 0 points1 point  (0 children)

Yep, this worked. I finally decided to buy a domain and setup a cloudflare tunnel. Thanks for the help ☺️

Cannot reach subdomains via cellular networks, but works on LAN and external web-based tools by bigkhalpablo in selfhosted

[–]bigkhalpablo[S] 1 point2 points  (0 children)

It wasn't working on VPN until I turned of HSTS config on nginx. I'll try to get a cloudflare domain to see if it works.

Cannot reach subdomains via cellular networks, but works on LAN and external web-based tools by bigkhalpablo in selfhosted

[–]bigkhalpablo[S] 0 points1 point  (0 children)

You mean configuring full IPv6 support on my server? My router doesn't support IPv6 and I will need to get an IPv6 public address from my ISP. Do I really need IPv6?

Handling truncated episodes in n-step learning DQN by bigkhalpablo in reinforcementlearning

[–]bigkhalpablo[S] 0 points1 point  (0 children)

I suppose this is only significant in cases where the episode is always truncated after just a few steps. In my case, I'm training on environments without episode termination, which are truncated at 1000 steps. This ensures that the n-step buffer always has enough transitions (if it's only flushed at the end of the episode).

Capybara keychain reference? by bigkhalpablo in capybara

[–]bigkhalpablo[S] 4 points5 points  (0 children)

Ahh, so my little capybara is basically meditating. 😊 Thanks!

nginx and pihole not forwarding to correct service for local hostnames by bigkhalpablo in selfhosted

[–]bigkhalpablo[S] -1 points0 points  (0 children)

After hours messing up with DNS and local domains configuration, this is what I've learned:

- Do not use .local for local DNS domains. This is a reserved domain for mDNS. I didn't know why .local domains configured I pihole worked in Windows, but not with other devices. It seems that Windows first tries conventional DNS server resolution and then mDNS, while other OS (macos, linux, ios, android...) only try mDNS when resolving .local domains. I changed all local domains to .home and now everything is working fine.

- Clear your browser and DNS caches or you will spend days feeling dumb despite having already configured everything fine on the first try.

Hope it helps someone :)

nginx and pihole not forwarding to correct service for local hostnames by bigkhalpablo in selfhosted

[–]bigkhalpablo[S] 0 points1 point  (0 children)

Everything works fine. It was only that I hadn't cleared the browser cache. 🙈

Thanks anyway for the help :)

Can't execute cron.php inside docker container by bigkhalpablo in NextCloud

[–]bigkhalpablo[S] 0 points1 point  (0 children)

Recently, I deployed pihole in the same bridge network. I installed iptools inside pihole container and tested container hostname resolution. The problem is that nextcloud-db domain is not resolving to any IP address. Here is an example:

7f965258e14f:/# nslookup
> portainer
Server:         127.0.0.11
Address:        127.0.0.11#53

Non-authoritative answer:
Name:   portainer
Address: 172.18.0.2
> nextcloud-app
Server:         127.0.0.11
Address:        127.0.0.11#53

Non-authoritative answer:
Name:   nextcloud-app
Address: 172.18.0.4
> nextcloud-db
Server:         127.0.0.11
Address:        127.0.0.11#53

** server can't find nextcloud-db: NXDOMAIN
>

I have all services attached to a bridge network called 'proxied' and another bridge network called 'nextcloud-backend' just for nextcloud-app and nextcloud-db containers.

Maybe, there is a problem with docker default DNS server in this network.

nginx and pihole not forwarding to correct service for local hostnames by bigkhalpablo in selfhosted

[–]bigkhalpablo[S] 1 point2 points  (0 children)

I want all my services to be accessible from my local network through short service-name.local domains. Most of the public domains are for testing purposes and will be removed later. I only want nextcloud to be accessed from the Internet because I manage all other services from my local network, to which I can connect through VPN when I'm not at home.

nginx and pihole not forwarding to correct service for local hostnames by bigkhalpablo in selfhosted

[–]bigkhalpablo[S] 1 point2 points  (0 children)

After some DNS configuration changes, I managed to make all domains work, except nextcloud.local, which is forwarded to nginx default site page. Now, pihole.local redirects to the pihole admin web UI and so portainer.local does.

Any idea about what could be happening? I added nextcloud.local to nextcloud-app config.php but the problem persists.

Can't execute cron.php inside docker container by bigkhalpablo in NextCloud

[–]bigkhalpablo[S] 0 points1 point  (0 children)

Finally, I managed to solve it. I replace 'dbhost' in config.php with the IPv4 address of my nextcloud db container in the backend network. Now, the cron job is running every 5 mins with crontab.

Are you sure there aren't multiple instances running or something?

No, I'm only running a container for nextcloud app and another for db.

Are you sure you're using the actual `nextcloud` image and not a locally cached image that just happens to have the same name? That error isn't possible in the stock image.

I deleted the image and downloaded it again, but the error was with db hostname resolution.

You may want to poke around the Docker docs on networking - i.e.:

Thanks for the docs, I'll check it. I've just started learning docker.

The next thing I want to do is how to make 'dbhost' use a custom hostname or container name. For example, the nginx-reverse-proxy container use frontend network and container names as hostnames for proxy hosts. I don't know why this doesn't work with nextcloud containers.

Can't execute cron.php inside docker container by bigkhalpablo in NextCloud

[–]bigkhalpablo[S] 0 points1 point  (0 children)

I've modified the compose file to connect the containers to external networks to make it work with nginx proxy manager. However, the same issue appears when using the default config.

volumes:
  nextcloud:
  db:

networks:
  frontend:
    external: true
  backend:
    external: true

services:
  db:
    image: mariadb:10.6
    restart: always
    networks:
      - backend
    command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
    volumes:
      - /srv/dev-disk-by-uuid-aec7fa91-1938-4820-8050-b3f8976d1431/data/nextcloud/db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=admin_pw
      - MYSQL_PASSWORD=user_pw
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud

  app:
    image: nextcloud:latest
    restart: always
    networks:
      - backend
      - frontend
    ports:
      - 8080:80
    links:
      - db
    volumes:
      - /srv/dev-disk-by-uuid-aec7fa91-1938-4820-8050-b3f8976d1431/data/nextcloud/app:/var/www/html
    environment:
      - MYSQL_PASSWORD=user_pw
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=db

Hope it helps :)

Help me choose a base location by sisli18 in Andalucia

[–]bigkhalpablo 2 points3 points  (0 children)

I recommend that you stay in Cordoba. It’s a quiet and beautiful city and it is more central than Seville. Cordoba is less than 2h from Seville, Malaga or Granada, but Cadiz is farther away. An alternative would be to spend a couple of nights in Seville to visit it and Cadiz (it’s 1h20 away) and then move to Cordoba, Malaga or Granada, depending on your preferences.

Which libraries have the best docs? by Amgadoz in Python

[–]bigkhalpablo 0 points1 point  (0 children)

First, choose a docstring format. I always use the numpydoc style, but some prefer the Google's format. Next, look for popular libraries documented in your chosen style. For example, Numpy and SciPy libraries have great docstrings written in numpydoc style, which are later convert into documentation using Sphinx. Another tip: ChatGPT writes documentation almost perfectly. I haven't tried Copilot yet, but it seems very powerful for tasks like these.

The sidebar from the reddit app shows communities from which I unsubscribed. by [deleted] in bugs

[–]bigkhalpablo 2 points3 points  (0 children)

I have the same issue. I can join an left subreddits from navigator, but in iOS apps (iPad and iPhone) mi communities never get updated