tubbadu

joined 2 years ago
 

Hello! I'm working with typst files, and would like to write a kate plugin to automatically preview them inside kate. However, the official guide has instructions only for plasma 5. Does anyone have a bare-bones plugin project I can clone and modify, or some tips on how to adapt the files in the official guide in order to work on plasma 6?

Thanks in advance!

 

Hello! Basically, I need to process a very large (4000 lines) file and free ai chatbots like chatgpt aren't able to handle it. I would like to split it into smaller parts and process each part separately. I'm having however a very hard time finding a chatbot with free API. the only one I found is huggingchat, but after a few requests waiting 1 seconds before sending the next one it starts giving rate limit errors.

any suggestion? thanks in advance!

EDIT: I also tried to run gpt4all on my laptop (with integrated graphics) and it took like 2-5 minutes to asnwer a simple "hello" prompt, so it's not really feasable :(

 

Hello! I was looking for alternatives for Spotify to listen to music and create and share playlists with friends, and found a huge amount of players, both local and streaming, but none of them offered a reliable way to share playlists with friends. So here me out: what if there were a federated, self hostable platform where you can create an account, that provides an API that all the million music app can integrate easily in order to synchronize and share them also with people that uses other apps? Do you think it would work? I believe that if something like this would widespread, huge music companies like Spotify and Youtube wouldn't implement such a thing, but that perhaps would be also a way to "disincentivize" people from using those services!

"Hi friends Me on musicapp1 and Fred on musicapp2 created this cool playlist, hear it out!!"

"Sorry I pay 12$/month for Spotify, I cannot see it"

 

Hello everybody! I have the following issue: I have two countainers, let's call them C1 and C2, and they both expose the same port, let's say 1234. I want to route both of them through a gluetun container. to do this, I added

network_mode: container:gluetun

at each container. But they both expose the same port, so there's a conflict. Without routing them though gluetun I can just

ports:
  - 1235:1234

but using network_mode this cannot be done. What can I do? The only thing that comes to my mind is to use two gluetun containers, but I'd rather use a single one

thanks in advance!

 

Hello! on my home server I currently have jellyfin+arr suite installed, but I have often problems finding downloads, probably because of the torrent indexers I have access to. Because of this, I often find myself watching content on streaming websites because it has not been downloaded on the server.

So I started to consider replacing jellyfin with stremio. I'd like, if possible, to self host it with docker. I tried to follow the instructions here, but I'm a bit confused: if I go to myserver:12470, it says "the connection was reset by the server", while if I go to myserver:11470 I'm just redirected to https://app.strem.io/shell-v4.4/?streamingServer<myserverhere>.

am I doing something wrong? I can't find any guide or similar on how to self host it, so I guess it's not something supported, but if it's the case then what's the point of the docker image? I'd like to be independent on the stremio server, it's the point of self-hosting it

thanks in advance fellow sailors!

[–] tubbadu@lemmy.kde.social 1 points 9 months ago

Thanks for sharing this kind stranger, I really needed this

 
 

Hello! I'm trying to set up qbittorrent and gluetun using docker compose on my home server, using the free account of ProtonVPN.

on some posts I see that ports 8080, 6881 and 6881/UDP are open in gluetun. in the guide I followed instead only port 8080 is exposed. So I exposed port 8080 and it is not working. I launched the torrent of endeavourOS iso image (that my laptop (with the same vpn) downloads in a few minutes with plenty of peers and seeds at about 4Mb/s), and it downloaded at an EXTREME low speed (a few B/s) for a few seconds, and then got stuck at stalled. When it is stalled, the qbittorrent container has no internet access (ping linux.org fails).

So my questions are:

  1. Which ports do I need to open on gluetun? if I open 6881 wouldn't my IP be exposed bypassing gluetun?
  2. What's wrong with my setup? Why is internet connection so slow when there is, and why does it go away so often?
  3. Is this configuration secure? in case of gluetun fail, would my IP be leaked?

here's the two docker-compose.yml files:

version: "3"

services:
    gluetun:
        image: qmcgaw/gluetun
        container_name: gluetun
        cap_add:
            - NET_ADMIN
        environment:
            - VPN_SERVICE_PROVIDER=protonvpn
            - OPENVPN_USER=MYUSERHERE
            - OPENVPN_PASSWORD=MYPASSWORDHERE
            - SERVER_COUNTRIES=Netherlands
            - FREE_ONLY=on
        volumes:
            - ~/docker/gluetun/gluetun:/gluetun
        ports:
            - 8080:8080 # qBittorrent
        restart: unless-stopped

and

version: "3"
services:
  qbittorrent:
    image: linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Rome
      - WEBUI_PORT=8080
    volumes:
      - ~/docker/qbittorrent/config:/config
      - ~/docker/qbittorrent/downloads:/downloads
    network_mode: "container:gluetun"
    #ports:
    #  - 8080:8080
    #  - 6881:6881
    #  - 6881:6881/udp
    restart: unless-stopped

and here's some logs:

024-01-22T19:07:15Z INFO Settings summary:
├── VPN settings:
|   ├── VPN provider settings:
|   |   ├── Name: protonvpn
|   |   └── Server selection settings:
|   |       ├── VPN type: openvpn
|   |       ├── Countries: netherlands
|   |       ├── Free only servers: yes
|   |       └── OpenVPN server selection settings:
|   |           └── Protocol: UDP
|   └── OpenVPN settings:
|       ├── OpenVPN version: 2.5
|       ├── User: [set]
|       ├── Password: fL...BK
|       ├── Network interface: tun0
|       ├── Run OpenVPN as: root
|       └── Verbosity level: 1
├── DNS settings:
|   ├── Keep existing nameserver(s): no
|   ├── DNS server address to use: 127.0.0.1
|   └── DNS over TLS settings:
|       ├── Enabled: yes
|       ├── Update period: every 24h0m0s
|       ├── Unbound settings:
|       |   ├── Authoritative servers:
|       |   |   └── cloudflare
|       |   ├── Caching: yes
|       |   ├── IPv6: no
|       |   ├── Verbosity level: 1
|       |   ├── Verbosity details level: 0
|       |   ├── Validation log level: 0
|       |   ├── System user: root
|       |   └── Allowed networks:
|       |       ├── 0.0.0.0/0
|       |       └── ::/0
|       └── DNS filtering settings:
|           ├── Block malicious: yes
|           ├── Block ads: no
|           ├── Block surveillance: no
|           └── Blocked IP networks:
|               ├── 127.0.0.1/8
|               ├── 10.0.0.0/8
|               ├── 172.16.0.0/12
|               ├── 192.168.0.0/16
|               ├── 169.254.0.0/16
|               ├── ::1/128
|               ├── fc00::/7
|               ├── fe80::/10
|               ├── ::ffff:127.0.0.1/104
|               ├── ::ffff:10.0.0.0/104
|               ├── ::ffff:169.254.0.0/112
|               ├── ::ffff:172.16.0.0/108
|               └── ::ffff:192.168.0.0/112
├── Firewall settings:
|   └── Enabled: yes
├── Log settings:
|   └── Log level: INFO
├── Health settings:
|   ├── Server listening address: 127.0.0.1:9999
|   ├── Target address: cloudflare.com:443
|   ├── Duration to wait after success: 5s
|   ├── Read header timeout: 100ms
|   ├── Read timeout: 500ms
|   └── VPN wait durations:
|       ├── Initial duration: 6s
|       └── Additional duration: 5s
├── Shadowsocks server settings:
|   └── Enabled: no
├── HTTP proxy settings:
|   └── Enabled: no
├── Control server settings:
|   ├── Listening address: :8000
|   └── Logging: yes
├── OS Alpine settings:
|   ├── Process UID: 1000
|   └── Process GID: 1000
├── Public IP settings:
|   ├── Fetching: every 12h0m0s
|   └── IP file path: /tmp/gluetun/ip
└── Version settings:
└── Enabled: yes
2024-01-22T19:07:15Z INFO [routing] default route found: interface eth0, gateway 172.29.0.1, assigned IP 172.29.0.2 and family v4
2024-01-22T19:07:15Z INFO [routing] adding route for 0.0.0.0/0
2024-01-22T19:07:15Z INFO [firewall] setting allowed subnets...
2024-01-22T19:07:15Z INFO [routing] default route found: interface eth0, gateway 172.29.0.1, assigned IP 172.29.0.2 and family v4
2024-01-22T19:07:15Z INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
2024-01-22T19:07:15Z INFO [dns] using plaintext DNS at address 1.1.1.1
2024-01-22T19:07:15Z INFO [http server] http server listening on [::]:8000
2024-01-22T19:07:15Z INFO [healthcheck] listening on 127.0.0.1:9999
2024-01-22T19:07:15Z INFO [firewall] allowing VPN connection...
2024-01-22T19:07:15Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-01-22T19:07:15Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-01-22T19:07:15Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]192.40.57.231:1194
2024-01-22T19:07:15Z INFO [openvpn] UDP link local: (not bound)
2024-01-22T19:07:15Z INFO [openvpn] UDP link remote: [AF_INET]192.40.57.231:1194
2024-01-22T19:07:21Z INFO [healthcheck] program has been unhealthy for 6s: restarting VPN (see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)
2024-01-22T19:07:21Z INFO [vpn] stopping
2024-01-22T19:07:21Z INFO [vpn] starting
2024-01-22T19:07:21Z INFO [firewall] allowing VPN connection...
2024-01-22T19:07:21Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov  2 2022
2024-01-22T19:07:21Z INFO [openvpn] library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2024-01-22T19:07:21Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]185.107.56.235:1194
2024-01-22T19:07:21Z INFO [openvpn] UDP link local: (not bound)
2024-01-22T19:07:21Z INFO [openvpn] UDP link remote: [AF_INET]185.107.56.235:1194
2024-01-22T19:07:22Z WARN [openvpn] 'link-mtu' is used inconsistently, local='link-mtu 1633', remote='link-mtu 1634'
2024-01-22T19:07:22Z WARN [openvpn] 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
2024-01-22T19:07:22Z WARN [openvpn] 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
2024-01-22T19:07:22Z INFO [openvpn] [node-nl-164.protonvpn.net] Peer Connection Initiated with [AF_INET]185.107.56.235:1194
2024-01-22T19:07:23Z INFO [openvpn] setsockopt TCP_NODELAY=1 failed
2024-01-22T19:07:23Z INFO [openvpn] TUN/TAP device tun0 opened
2024-01-22T19:07:23Z INFO [openvpn] /sbin/ip link set dev tun0 up mtu 1500
2024-01-22T19:07:23Z INFO [openvpn] /sbin/ip link set dev tun0 up
2024-01-22T19:07:23Z INFO [openvpn] /sbin/ip addr add dev tun0 10.25.0.5/16
2024-01-22T19:07:23Z INFO [openvpn] UID set to nonrootuser
2024-01-22T19:07:23Z INFO [openvpn] Initialization Sequence Completed
2024-01-22T19:07:23Z INFO [dns] downloading DNS over TLS cryptographic files
2024-01-22T19:07:24Z INFO [healthcheck] healthy!
2024-01-22T19:07:24Z INFO [dns] downloading hostnames and IP block lists
2024-01-22T19:07:32Z INFO [healthcheck] unhealthy: dialing: dial tcp4: lookup cloudflare.com: i/o timeout
2024-01-22T19:07:32Z INFO [dns] init module 0: validator
2024-01-22T19:07:32Z INFO [dns] init module 1: iterator
2024-01-22T19:07:32Z INFO [dns] start of service (unbound 1.17.1).
2024-01-22T19:07:33Z INFO [dns] generate keytag query _ta-4a5c-4f66. NULL IN
2024-01-22T19:07:33Z INFO [healthcheck] healthy!
2024-01-22T19:07:33Z INFO [dns] ready
2024-01-22T19:07:33Z INFO [vpn] You are running on the bleeding edge of latest!
2024-01-22T19:07:33Z INFO [ip getter] Public IP address is 185.107.56.251 (Netherlands, North Holland, Amsterdam)
 
[–] tubbadu@lemmy.kde.social 0 points 2 years ago (1 children)

Is it proprietary? I can't find any source code

[–] tubbadu@lemmy.kde.social 1 points 2 years ago

It would be cool if crossposted posts would have like a common comment thread or something like this: a crosspost does not copy the post to another community, it creates a "softlink" to the original post. This way, everything done to any of the crossposted post (vote, comment, mark as viewed) would be also applied to other crossposted posts. This way, we would only see a single post instead of 15 posts, and we wouldn't miss any comment from any of the communities it is crossposted. Obviously, users may wish to just copy the post to another community. What do you think about this? Should we open an issue on github about this?

0
submitted 2 years ago* (last edited 2 years ago) by tubbadu@lemmy.kde.social to c/opensource@lemmy.ml
 

Hello! I'm looking for a foss weather app for android, so I went ahead to f-droid and tried a bunch of them, but didn't find any that fully satisfies me: I want to be able to see the hourly forecast of any day of the week, not just the "global" forecast, and I want the weather service used not to require a credit card (openweathermap.org for example requires the credit card to get an API key). Geometric Weather is the one that I'm currently using, with open-meteo as provider, but sadly it displays hourly forecasts only for the current day, but not for other days.

Do you have any suggestion? Thanks in advance!

 

Hello! on the wiki it is written that OnePlus Nord models are supported, but does this means any Nord XX model is good? like the OnePlus Nord 2T for example

0
submitted 2 years ago* (last edited 2 years ago) by tubbadu@lemmy.kde.social to c/kde@lemmy.kde.social
 

Hello! I noticed that konsole has problems rendering nerd fonts, while other terminals (I tried xfce4-terminal as referemce) works flawlessly.

as you can see, in konsole the triangle symbol has a tiny vertical line before. the font used is NotoMono Nerd Font 12, but other fonts and sizes have the same effect. Any idea on how to solve this? I found no bug of this kind on the web, only problems of not rendering at all these symbols. Should I open a bug report?

EDIT:
I switched from Fedora to EndeavourOS today (not for this reason) and here it works perfectly with any font. I guess I messed something in the fedora configuration. thanks to everyone for the help!

[–] tubbadu@lemmy.kde.social 0 points 2 years ago

I tried installing xfce4-terminal, and there it is displayed well with any font, so I guess it's a Konsole problem... I'll try to ask in the KDE community, thanks for your help!

[–] tubbadu@lemmy.kde.social 0 points 2 years ago (2 children)

replying to @yote_zip@pawb.social because the direct reply failed:

I ctrl+F "Noto" and as it returned 0 results I just assumed they weren't there... thank you!! however, these fonts, as many other, still have this line issue. only FiraMono fonts didn't:

 

Hello! I have changed my PROMPT variable for bash and zsh in the following:

TRIANGLE=$'\uE0B0'
COLOR_1="#089B89"
COLOR_2="#FCFCFC"
COLOR_3="#3B4045"
PROMPT="%K{$COLOR_1} %n@%M%F{$COLOR_1}%K{$COLOR_2}$TRIANGLE%F{$COLOR_1} %~%F{$COLOR_2}%K{$COLOR_3}$TRIANGLE%f%k " #%K{#1BA58A}%F{black}$TRIANGLE

and I'm using the Noto Sans Mono fonts, but this happens on other fonts as well.

How can I get rid of the white lines before the triangle? should I use a specific font?

[–] tubbadu@lemmy.kde.social 0 points 2 years ago (1 children)

I never heard of it, what are the pros/cons?

view more: next ›