I think that makes you “the guy who really likes to talk about Linux.”
- 1 Post
- 187 Comments
hedgehog@ttrpg.networkto Selfhosted@lemmy.world•localhosting: selfhosting to the minEnglish1·16 days agoI’m a professional software engineer and I’ve been in the industry since before Kubernetes was first released, and I still found it overwhelming when I had to use it professionally.
I also can’t think of an instance when someone self-hosting would need it. Why did you end up looking into it?
I use Docker Compose for dozens of applications that range in complexity from “just run this service, expose it via my reverse proxy, and add my authentication middleware” to “in this stack, run this service with my custom configuration, a custom service I wrote myself or forked, and another service that I wrote a Dockerfile for; make this service accessible to this other service, but not to the reverse proxy; expose these endpoints to the auth middleware and for these endpoints, allow bypassing of the auth middleware if an API key is supplied.” And I could do much more complicated things with Docker if I needed to, so even for self-hosters with more complex use cases than mine, I question whether Kubernetes is the right fit.
Ah, gotcha. Nothing had been using them yet because I’d only just gotten the API key configured the day prior. But I already had Traefik running several dozen self hosted services that I use all the time, so the only “new” piece was adding API key support to Traefik.
One of my planned projects is an all-in-one, self-hostable, FOSS, AI augmented novel-planning, novel-writing, ebook and audiobook studio. I’m envisioning being able to replace Scrivener, Sudowrite, Vellum, and then also have an integrated audiobook studio, but making it so that at every step you could easily import or export artifacts to / from other tools.
Since I also run a tabletop RPG, and there’s a lot of overlap in terms of desirable functionality with novel planning and ttrpg planning, I plan to build it to be capable in that regard, too.
In both cases, the critical AI functionality that I want to implement (that afaik hasn’t been done well), is how to elegantly handle concepts from the world building section. For example:
- Automatic State tracking, where a scene following the outline is written or generated, and the changes to state are calculated based off the text.
- Example: the MC started with $100 and spends $5 buying a magazine. Now MC has a magazine and $95
- Example: a character leaves the scene, heading to another location
- Example: a minor character overhears a secret conversation about the villain’s plan
- Example: a character is killed
- Manual State tracking
- Example: MC left the Macguffin with their mentor, but off page the mentor was killed and the Macguffin was stolen by the villain
- Example: MC thinks something happened, but they misinterpreted it, so the user edits the automatically calculated state with a clarification: this is what MC thinks; this is what actually happened
- Syncing state changes with timelines.
- Example: a scene in chapter 8 is a flashback to before the start of the book, so nothing that’s happened since then has happened yet
- Example: after having written the first draft, you realize you should have introduced the Macguffin much earlier, so you edit a scene in chapter 3 to include a mention of it. The timeline is updated to incorporate that information.
- Example: you move a scene from chapter 7 to chapter 4 for the sake of pacing. This causes the state at the start of scene to be analyzed and the changes in the scene to be propagated and for any conflicts to be noted, both in this scene and any following ones, e.g., MC had $95 in chapter 4 and $60 in chapter 7, and lost their wallet in this scene, so now MC should have lost a wallet containing $95 and won’t be able to make the purchases they made between this scene and chapter 7
- Example: You add a new scene in chapter 5 after having already written chapters 6-20. The changes in state due to this scene are propagated out and any resulting conflicts are noted
- Information concealing
- Example: MC doesn’t know that the Macguffin has been stolen, and neither does the reader. But if you tell the LLM that it’s been stolen at this point, the generated text will often immediately give this away
Another critical feature is to have versioning, both automated and manual, such that a user can roll back to a previous version, tag points in time as Rough Draft, Second Draft, etc…
I’d also like to build an alpha / beta reader function - share a link and allow readers to give feedback (like comments in particular sections, highlights, emoji reactions, as well as reporting on things like reading behavior - they reread this section or went back after reading this section - that could be indicative of confusing writing), and also enable soliciting the same sort of feedback from AIs, and building tools to combine and analyze the feedback.
I could go on about the things I’d love to build in that app, but then I’d be here all day.
I don’t have that tool built yet, obviously, but it has a need to integrate with everything I’ve worked on - LLMs, embeddings, image generation, audio generation - heck, even video generation could be useful, but that’s a whole different story on its own.
That app will need to be able to connect to such services from the browser or the backend directly, depending on the user’s preferences and how the services are configured.
In the meantime, having API key support means I can use my self hosted services with other tools.
- the FOSS NotebookLM clone supports that.
- I still haven’t touched N8N, but I’d been (and still am) planning to.
- I’d been toying with subbing to Novelcrafter, which allows you to connect to an ollama instance.
- I learned about PlotBunni around the time of this comment and spun up my own instance, then forked the project and added support for API keys and made some other bug fixes… I started adding support for storing data on the server and synchronizing it but never fully got that working before having to set the project aside to focus on my day job.
- I can now use the Comfy UI Remote app outside of my own network (I think I was already able to do this before by configuring a service user in my auth provider and enabling basic authentication with a base64 encoded username/password as the Bearer token) which is nice because Comfy is a pain to use on a phone
- Likewise with Kokoro - there is (or was - unsure if it’s been fixed) a bug in the web client that means only Chrome browsers can use it, but because I added API key support to the server, I can expose the service and access it from outside my network with a different client running on my phone
I’ve been pretty busy and haven’t really touched any of this in over a month now, but it’s certainly not for lack of use cases.
- Automatic State tracking, where a scene following the outline is written or generated, and the changes to state are calculated based off the text.
Why do you think I didn’t have a use case?
hedgehog@ttrpg.networkto Mildly Infuriating@lemmy.world•My IP address is apparantly suspicious? What? (Real IP, not a VPN)English8·18 days agoCan’t Keepass also generate TOTPs?
Proton doesn’t know that your password is 64 characters long because the hash will be the same length regardless. They also don’t know if you’ve reused your password on other sites.
hedgehog@ttrpg.networkto Mildly Infuriating@lemmy.world•My IP address is apparantly suspicious? What? (Real IP, not a VPN)English4·18 days agoDo you have two factor authentication set up? A lot of sites - Proton included - institute stricter security measures if you do not have 2FA enabled.
hedgehog@ttrpg.networkto Gaming@beehaw.org•Itch.io are seeking out new payment processors who are more comfortable with adult material | RPS3·1 month agoClaiming that GTA is responsible for mass shootings is an example of what pro-gun activists do in order to deflect the blame off of guns.
hedgehog@ttrpg.networkto Free and Open Source Software@beehaw.org•The Age of Non-Woke Open Source is Beginning11·1 month agoIn fact, Redot has had 13 releases since the project started late last year.
With an absolutely massive number of commits since then.
An absolutely massive number of commits that were originally made to Godot, sure. Redot has 118 more commits than Godot as of the time of this writing (76,344 vs 76,266). That’s not even 1 original commit per day.
hedgehog@ttrpg.networkto Linux@lemmy.ml•Immich 1.136 Photo and Video Backup Brings Breaking Changes3·1 month agoI genuinely don’t understand why people here are taking it so hard that I wish the Immich devs were using semver.
Because you didn’t say that; you said “Breaking changes in a point release? Not cool” and later “I’m basing this off the guidelines at semver.org.”
I’m paraphrasing your comments from memory, to be clear, so apologies if I misquoted you.
It certainly felt to me like you were assuming that this project was using semver and was not following it well, not that you wouldn’t want to use a project that receives this many breaking changes / that doesn’t follow semver. Those complaints both make a lot more sense to me - and I’ve seen many people say similar things about Immich in the past. In fact, it’s a big part of why I haven’t migrated from Photoprism to Immich myself - in this regard they’re complete opposites.
hedgehog@ttrpg.networkto Linux@lemmy.ml•Immich 1.136 Photo and Video Backup Brings Breaking Changes3·1 month agoI don’t think there’s any room to argue that announcing a 1.x with a change the developers say is a breaking change, which is what Immich have done, fits within the semver.org guidelines.
That wasn’t the argument.
Following semver is optional. If a project doesn’t explicitly state it is following semver, it shouldn’t be assumed that it is. With regard to Immich in particular, a cursory review of their documentation makes it clear that they are not following semver. Literally, go to https://immich.app/ and read the text at the very top of the page:
⚠️ The project is under very active development. Expect bugs and changes.
Go to the repo and you’ll see the README, which states at the very top:
- ⚠️ The project is under very activedevelopment.
- ⚠️ Expect bugs and breaking changes.
If you can read that, see that they’re on major version 1 with a minor version over 100, and you still think they’re using semver, then that’s on you.
The devs have stated they won’t be using semver until they consider Immich production ready, and that moving to a 1.x version from 0.x was a mistake made some time ago. If you want to think about it as though it is semver, consider the major version to still be 0. See https://github.com/immich-app/immich/discussions/5086#discussioncomment-7593227 for example.
As this project is clearly not following semver, the semver guidelines aren’t applicable and haven’t been violated.
I don’t think there’s any room to argue
Even if semver were applicable, in this case, I would still disagree. The text from semver.org states:
8. Major version X (X.y.z | X > 0) MUST be incremented if any backward incompatible changes are introduced to the public API.
It doesn’t state that any backward incompatible changes, period, require a major version increase, only changes to the public API. I would personally argue that the deployment configuration is part of the public API, but not all project owners agree with me. Even if they do agree, they might say that this was not a documented deployment configuration and thus not part of the public API, and that it therefore doesn’t necessitate an increase to the major version, but as they knew that people were using that configuration, anyway, they included a note about a potentially breaking change as a courtesy to those users.
hedgehog@ttrpg.networkto Linux@lemmy.ml•Immich 1.136 Photo and Video Backup Brings Breaking Changes41·1 month agoImmich isn’t a library (the main use case for semver is dependencies that will be pulled into other projects) and as far as I know they don’t state that they use semver.
hedgehog@ttrpg.networkto cats@lemmy.world•My cat Candy and Poppy inspired me to build a free tool for all cat owners (cat tax included!)2·2 months agoSure, just be aware that unripe tomatoes (not just the stems) are also toxic to cats.
hedgehog@ttrpg.networkto cats@lemmy.world•My cat Candy and Poppy inspired me to build a free tool for all cat owners (cat tax included!)20·2 months agoYou can’t just consider the cheese! You gotta look up all the ingredients!
- https://www.cancateat.food/food/bread
- https://www.cancateat.food/food/lettuce
- https://www.cancateat.food/food/tomato
- https://www.cancateat.food/food/mayonnaise
- https://www.cancateat.food/food/beef
- https://www.cancateat.food/food/cheese
Consensus: hold the tomato! Otherwise, if there’s no seasoning, everything else is acceptable in small amounts.
hedgehog@ttrpg.networkto Selfhosted@lemmy.world•How do I manage docker&Traefik behind a reverse proxy not on docker.English1·2 months agoThis is what I would try first. It looks like 1337 is the exposed port, per https://github.com/nightscout/cgm-remote-monitor/blob/master/Dockerfile
x-logging: &default-logging options: max-size: '10m' max-file: '5' driver: json-file services: mongo: image: mongo:4.4 volumes: - ${NS_MONGO_DATA_DIR:-./mongo-data}:/data/db:cached logging: *default-logging nightscout: image: nightscout/cgm-remote-monitor:latest container_name: nightscout restart: always depends_on: - mongo logging: *default-logging ports: - 1337:1337 environment: ### Variables for the container NODE_ENV: production TZ: [removed] ### Overridden variables for Docker Compose setup # The `nightscout` service can use HTTP, because we use `nginx` to serve the HTTPS # and manage TLS certificates INSECURE_USE_HTTP: 'true' # For all other settings, please refer to the Environment section of the README ### Required variables # MONGO_CONNECTION - The connection string for your Mongo database. # Something like mongodb://sally:sallypass@ds099999.mongolab.com:99999/nightscout # The default connects to the `mongo` included in this docker-compose file. # If you change it, you probably also want to comment out the entire `mongo` service block # and `depends_on` block above. MONGO_CONNECTION: mongodb://mongo:27017/nightscout # API_SECRET - A secret passphrase that must be at least 12 characters long. API_SECRET: [removed] ### Features # ENABLE - Used to enable optional features, expects a space delimited list, such as: careportal rawbg iob # See https://github.com/nightscout/cgm-remote-monitor#plugins for details ENABLE: careportal rawbg iob # AUTH_DEFAULT_ROLES (readable) - possible values readable, denied, or any valid role name. # When readable, anyone can view Nightscout without a token. Setting it to denied will require # a token from every visit, using status-only will enable api-secret based login. AUTH_DEFAULT_ROLES: denied # For all other settings, please refer to the Environment section of the README # https://github.com/nightscout/cgm-remote-monitor#environment
hedgehog@ttrpg.networkto Selfhosted@lemmy.world•How do I manage docker&Traefik behind a reverse proxy not on docker.English1·2 months agoTo run it with Nginx instead of Traefik, you need to figure out what port Nightscout’s web server runs on, then expose that port, e.g.,
services: nightscout: ports: - 3000:3000
You can remove the labels as those are used by Traefik, as well as the Traefik service itself.
Then just point Nginx to that port (e.g., 3000) on your local machine.
—-
Traefik has to know the port, too, but it will auto detect the port that a local Docker service is running on. It looks like your config is relying on that feature as I don’t see the label that explicitly specifies the port.
hedgehog@ttrpg.networkto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Arrrrr! Welcome Aboard The Good Ship Matey 🏴☠️English10·2 months agoJustWatch is still useful if you want to act like you watched it legitimately, e.g., if a coworker asks where they can watch it. Even if your coworker also pirates, they might not have an account on your private tracker, Usenet, etc…
I may be wrong, as I haven’t actually torrented anything substantial since Demonoid was still a thing, but it all feels less accessible than it used to be.
hedgehog@ttrpg.networkto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Software subscriptions: you own nothing and you'll be happyEnglish1·2 months agoCurrent generation iPad Pros and Airs have the same processing power as Apple Silicon Macs. That’s more than enough for Blender. Even the base iPad and the iPad Mini likely have enough processing power - though I don’t think the base iPad has enough RAM.
hedgehog@ttrpg.networkto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Software subscriptions: you own nothing and you'll be happyEnglish1·2 months agoDoes mirroring a screen (or adding a screen) from a computer or connecting to a computer via remote desktop count?
hedgehog@ttrpg.networkto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•I would still download a car if I could. 🚗English71·2 months agoif everyone thought like you no one would create digital media
This is obviously incorrect.
I hear more complaints about Windows from Windows users than from people who solely or primarily use other OSes. Unless you count “Okay… so why don’t you do something about it?” as a complaint, that is.