tofubl
@tofubl@discuss.tchncs.de
- Comment on Any nice playbook or tutorial to host a static website from home? 1 week ago:
You can set up your project in a private repo and in your deploy action push it to the main branch of your public Pages repo. I agree it’s not a huge deal to show the source, but I prefer it like that.
name: Deploy Hugo site to Github Pages on: push: branches: - main workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Hugo uses: peaceiris/actions-hugo@v3 with: hugo-version: "0.119.0" extended: true - name: Build run: hugo --minify - name: Configure Git run: | git config --global user.email "you@example.com" git config --global user.name "Your Name" - name: Deploy to GitHub Pages env: GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }} run: | cd public git init git remote add origin https://user/:${{ secrets.DEPLOY_TOKEN }}@github.com/USER/USER.github.io.git git checkout -b main git add . git commit -m "Deploy site" git push -f origin main
- Comment on Can you Dehydrate Food in a Filament Dryer? 1 week ago:
Is it? 😂
- Comment on A minimalist bedside lamp I've design to print in vase-mode 2 weeks 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. 🙂
- Comment on Can you Dehydrate Food in a Filament Dryer? 2 weeks ago:
Anyone remember that video of a guy proving he can cook chicken by slapping it many times?
- Comment on Need some help setting up gethomepage in my server 2 weeks 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.
- Comment on Need some help setting up gethomepage in my server 2 weeks ago:
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] }
- Comment on Need some help setting up gethomepage in my server 2 weeks ago:
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.
- Comment on Setting Up a Self-Hosted GitHub runner for CI/CD 2 weeks ago:
I have a docker forgejo runner for CI with Codeberg. Where did you get stuck?
- Comment on Any phone alternatives for the Bambu Handy app? 5 weeks 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.
- Comment on self actuating toggle switch? 5 weeks 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.
- Comment on On todo lists 2 months ago:
There’s an ongoing feature request about recurrence on the Nextcloud github. There was mention that using a client that supports it is no problem, but to be careful not to mark a task as complete on the web UI, as that would remove the entire task instead of marking one repetition as complete.
- Comment on Windows Recall is secretly installed on non-Copilot+PCs (Privacy Nightmare) 4 months ago:
Love the out of the box thinking though. Really inspirational!
- Comment on Windows Recall is secretly installed on non-Copilot+PCs (Privacy Nightmare) 4 months ago:
I would totally do that. Only problem is that the third yacht really is my favourite, so I’m gonna pass if that’s okay. Thanks!
- Comment on GitHub - sv1sjp/lemmy-rss-pybot: Lemmy RSS PyBot is a powerful Python bot that reads RSS feeds and posts new articles to your favorite Lemmy communities. 4 months ago:
… and enhanced by a sentence or two why it is worthwhile. Getting really tired of the no-effort link drops around here. Better yet, the same no-effort link drop to multiple similar communities on various instances.
Is there a block function for link-only posts?
Are there filters to prevent seeing duplicate content?
- Comment on Authentication for external sevices 5 months ago:
Right, thanks.
- Comment on Authentication for external sevices 5 months ago:
“authentication is not security,” can you elaborate on that?
Your statement doesn’t really overlap with my understanding of security, as “just access” seems critically relevant to how secure user data is, for example. Am I missing something?
- Comment on SMTP provider 5 months ago:
EU servers might be worth something to some people, depending on where they are in the world. And while 190% is indeed way more expensive, relatively speaking, it’s still “well under” your goal of EUR 2 per month.
- Comment on SMTP provider 5 months ago:
I’ve read good things about migadu. Haven’t used it myself.
- Comment on help needed to understand this diagram of a water flow sensor (from a boiler) 6 months ago:
Good job troubleshooting.
- Comment on help needed to understand this diagram of a water flow sensor (from a boiler) 6 months ago:
5V or 4.68V input isn’t meaningful. The sensor has some input range and 4.68V most definitely falls into that. Could be a design choice that has no real implications.
On the other hand, if the device normally supplies 5V, just yours doesn’t, then that’s further evidence you have a faulty controller.
- Comment on help needed to understand this diagram of a water flow sensor (from a boiler) 6 months ago:
My money is on faulty controller at this point, but I think you’ll need to find someone with electronics chops if you want to avoid just buying parts until it works again.
For what it’s worth, I didn’t mean take the sensor out of the wall, but just electrically unplug it from the controller to see what it does on its own when you turn on the water.
- Comment on help needed to understand this diagram of a water flow sensor (from a boiler) 6 months ago:
Oh and be careful if you do end up trying it.
There’s no safety risk in what I described, but reversing the power supply might very well fry the device.
- Comment on help needed to understand this diagram of a water flow sensor (from a boiler) 6 months ago:
With better tools, it would be easier to troubleshoot more precisely. An oscilloscope would help you understand what’s going on, for example.
From what you describe, I’m actually starting to suspect the other end (the controller?) to be the problem.
One idea you could try before buying anything is to disconnect the sensor, supply it with 5V and ground (double check with data sheet!) and see what’s happening on the output when there is flow. If you don’t measure anything, as I would expect since the pin alternates between a floating state and ground, you then add a 10k or 50k ohms pullup resistor between 5v and output and measure again, and should get the levels you expected to see in the first place.
Don’t know if you’re comfortable doing this, but maybe you can find somebody to help you out?
- Comment on help needed to understand this diagram of a water flow sensor (from a boiler) 6 months ago:
Read your post again, and your readings are of course not in line with what I laid out. Are you measuring the sensor in-system?
If you are, the sensor might indeed be faulty. If you aren’t, you probably need a pullup resistor on the output pin.
- Comment on help needed to understand this diagram of a water flow sensor (from a boiler) 6 months ago:
These flow sensors are usually hall effect sensors, with two or four magnets attached to a rotor with a little water wheel. When water flows, the magnets turn and creates somewhat of a PWM signal at the output (actually it’s high level when magnet is there and low level when magnet is not there or vice versa). Measuring the pin with a slow multimeter, this would indeed give you approximately half the supply voltage when water is flowing, depending on a few other factors. So- readings sound sensible to me. To note that if the rotor stops with a magnet close to the hall effect sensor, you will read 5V (or VCC) at the output, but always VCC/2 when flowing.
Most of these sensors employ an open collector output stage, but that doesn’t need to bother you with the readings you’re getting, I think.
- Comment on Self-Hosted setup for remote music lessons? 6 months ago:
No harm in giving it a try, but I personally wouldn’t bother with a selfhosted solution for it. Especially if you’re not sure it will work out.
- Comment on Self-Hosted setup for remote music lessons? 6 months ago:
Well, paint me green and call me a pickle. More power to you if it works. 😊
- Comment on Self-Hosted setup for remote music lessons? 6 months ago:
Tangent, unsolicited:
Music lessons over video call, that has to be a real pain. I can’t find it now, but there’s an Adam Neely video where he talks about why online recording sessions can’t work, as transmission latency works against the immediacy needed to play music together. He said it better than I can.
Except if your idea is to play in turns, but then capturing the thing you want to show… Can’t you find another teacher closer to you?
- Comment on Please help me stop my baby from crying because kodi keeps buffering 6 months ago:
Installing the Jellyfin add on into kodi takes a few minutes. Nothing much to consider, just try it and see if that changes anything.
I have a similar setup (rpi with OSMC, media hosted on file server) and prefer using Jellyfin as the source for all clients, as it keeps track of watched status across everything. It’s not perfect, but better.
- Comment on How can I add wireless functionality to a simple electric motor? 7 months ago:
Don’t forget a flywheel diode at the inductive load or your transistor will bacon at midnight.