tofubl

joined 2 years ago
[โ€“] tofubl@discuss.tchncs.de 2 points 5 months ago

Short blogs with few but high quality articles are actually the salt of the earth.

I encourage you to do it, there are many options like Hugo, and your intellectual property will never be locked in a company's app store (Prusa seems trustworthy for now, but as we've seen, lockout is always just a TOS change away.)

You already have the writeup and hosting a static site on github pages or similar doesn't incur costs, so the only thing you need is some time and a domain. ๐Ÿ™‚

[โ€“] tofubl@discuss.tchncs.de 17 points 5 months ago* (last edited 5 months ago) (2 children)

Anyone remember that video of a guy proving he can cook chicken by slapping it many times?

this one, probably

[โ€“] tofubl@discuss.tchncs.de 1 points 5 months ago

I need to use the IP for specific reasons concerning my setup; and I don't want the two containers to share a Docker network.

This used to work exactly as is when I set it up, but doesn't anymore.

I tinkered with it some more now and I found that while I can ping the docker host, I can't actually wget anything from any docker services from within the Homepage container. Currently at a loss why that might be.

[โ€“] tofubl@discuss.tchncs.de 0 points 5 months ago (2 children)

Would love to see it.

Here's mine from the Paperless compose.yml (non functional):

  webserver:
    image: ghcr.io/paperless-ngx/paperless-ngx
    [...]
    labels:
      - homepage.group=Productivity
      - homepage.name=Paperless
      - homepage.icon=paperless.png
      - homepage.href=https://[LOCAL URL]
      - homepage.description=Document Management
      - homepage.widget.type=paperlessngx
      - homepage.widget.url=http://[PAPERLESS IP:PORT]
      - homepage.widget.key=[PAPERLESS API TOKEN]

And here's the error from Homepage frontend:

    API Error: Unknown error
    URL: http://[PAPERLESS IP:PORT]/api/statistics/?format=json
    Raw Error:
    {
        "errno": -110,
        "code": "ETIMEDOUT",
        "syscall": "connect",
        "address": "[PAPERLESS IP]",
        "port": [PAPERLESS PORT]
    }
[โ€“] tofubl@discuss.tchncs.de 4 points 5 months ago (4 children)

I don't think it's you. The paperless widget stopped working for me recently after it had been fine before. Similar setup to yours.

It bothered me a little but since the widget isn't actually very useful to me I didn't care to invest more time to get to the bottom of it.

[โ€“] tofubl@discuss.tchncs.de 2 points 5 months ago (5 children)

I have a docker forgejo runner for CI with Codeberg. Where did you get stuck?

[โ€“] tofubl@discuss.tchncs.de 6 points 5 months ago

Happy to help. Freecad can really seem like arcane magic at first, but it does get better. These videos helped me a lot.

[โ€“] tofubl@discuss.tchncs.de 5 points 5 months ago* (last edited 5 months ago) (2 children)
[โ€“] tofubl@discuss.tchncs.de 3 points 5 months ago

Bambu-Farm self-hosted server application works well for me together with a VPN into my home network. Made to control print farms, but single printers work all the same.

[โ€“] tofubl@discuss.tchncs.de 2 points 5 months ago

Neat idea with the key switches. Could be multiplexed like a keyboard matrix. With smart LEDs and some way to multiplex the output stage as well (or some shift registers), this could be nicely implemented one an esp32 or something.

[โ€“] tofubl@discuss.tchncs.de 3 points 5 months ago

On second read, maybe you already knew that.

[โ€“] tofubl@discuss.tchncs.de 3 points 5 months ago (1 children)

A virtual environment is just a copy of the python and pip binaries. When you activate the venv, the venv dirs temporarily get added to your path, so your regular python alias points to the binary in the venv (run which python with venv active to verify). Pip will install modules to a subdir of your venv. It basically works like npm and the node_modules dir.

view more: โ€น prev next โ€บ