• 0 Posts
  • 29 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle
  • There is some irony in blasting the use of AI in game design then turning to AI to help pirate a game.

    Some people are quick to reply “ah but it’s not generative AI, it’s not used by lazy bastards to create cheap assets, it’s used by skilled hackers to reverse engineer code so it’s completely different”.

    Leaving aside the myth of the skilled hacker for a second; either way your money ends up in AI corp pockets. And for what?

    Well let’s see: the consumers in a luxury market are complaining they can’t get their luxury product wrapped exactly the way they want it, yet keep on giving their money to the same brands they hate, and now also found an excuse to give them to the AI corpos (which they supposedly hate too). Talk about rank consumerism.

    Let’s also think of what the pirated version will be modded to do, because we all know it will be some absolutely deranged shit, but it will be acclaimed as the pinnacle of freedom.



  • Are the metadata sources configured properly for each library? It helps a lot to reduce its confusion if you make a library only for movies and set movie sources, and make a separate library for series and set series sources there.

    Also, the order of the sources can also help, and if the movies/series are in a different language it can help to set that as the library’s primary language (preferred download language and country/region settings).

    For anime you can mix movies and series in the same library because the metadata sources are typically the same for both.

    Wish I could tell Jellyfin that I have no anime whatsoever, and nothing Korean. It really likes those two categories.

    It sounds like you might have sources for anime and/or Korean metadata enabled in libraries that don’t have that kind of content. If so, uncheck them.

    You can also disable the plugins for anime metadata altogether if you don’t have any. AniDB, AniList and Kitsu are some of them.


  • Most stuff comes with S02E03-style stuff in the file names, and Jellyfin can also recognize variations like 203 and 2x03 so you don’t actually have much to do.

    The thing that trips me once in a while is single-season shows that don’t have the episodes in a “Season 1” subfolder. That tends to confuse it and it will leave the folder as a folder in Jellyfin, instead of attempting to identify the series and show it as a title.

    Once in a blue moon Jellyfin will fail to recognize a movie, or identify it as the wrong one (same title, different years) but that’s easily fixed from the three-dots menu -> Identify.

    Occasionally there’s some more stubborn stuff like multi-versions or anime titles but it’s extremely rare.

    It also works fairly well with Youtube rips, concerts etc.

    What I’m trying to say is that you don’t actually need a lot of automation. You can even point Jellyfin at the completed folder and let it rip.

    The main reason people use *arr organizers is mostly to split movies from shows, or if they want to move the files to another folder.

    Speaking of moving, some torrent apps like Deluge will happily follow symlinks, but some won’t, which complicates things. The *arr’s will do hardlinks if you want but that only works within the same filesystem.



  • If you’re dealing with CGNAT you’ll need external jump points, there’s no working around it. The only question is if you own the external hops or not.

    FWIW Tailscale is doing a fair job of maintaining demonstrable privacy on the user plane while keeping the control plane proprietary.

    IPv6 can be a solution if your home ISP has decent support and if you can take advantage of IPv6 when on the go. In my corner of Europe I can’t, for example, IPv6 support from mobile carriers is sketchy to non-existent, so it doesn’t matter if my home has it.

    Tailscale Funnel is a free option, if you don’t mind slow speeds, and if you’re ok with a .ts.net domain for your public point. You can have HTTPS too, Tailscale nodes can generate publicly valid TLS certs for their node.tailnet.ts.net name, renew it automatically, keep it private on the tailnode and only terminate TLS on the node. This would eliminate the need for Tailscale to run on all the client devices, you’d just need a node for it on the server.

    Cloudflared is another free option but you have to be careful how you set up the tunnel and disable all caching and make sure Cloudflare doesn’t terminate TLS for you and snoop on the content. (I say “snoop” but it’s a bit disingenuous, since their tunnel was intended as a CDN hydration mechanism so it’s normal for it to inspect content for caching and WAF. The fact self-hosters choose to use it for NAT punching is neither here nor there.)

    Other than that the only option is a VPS or some other form of jump-host. They can get pretty cheap FWIW, especially if you pay per year. I would prefer a VPS where I can set up my own thing (set up WG or SSH, maybe add HAProxy with PROXY protocol to relay the public IPs to the home proxy etc.) rather than a TCP jump tunnel set up by someone else.


  • Sometimes it’s hard to tell where the line is between your own company’s IT department and Microsoft employees.

    I’m guessing you mean this figuratively? Because there’s a very clear separation between Microsoft people and customer people. In fact it can be almost impossible to reach anybody at Microsoft directly.

    Even their support layer is convoluted and outsourced and detached from actual Microsoft employees. Most companies deal with Microsoft through a specialist layer (CSAM / account representatives) who are third-party professionals or companies that have more direct contacts and tools into Microsoft.

    If your own company retains a CSAM specialist on premises it can feel like what you’re describing, they are very likely to evangelize. But they’re not usually directly employed and not technically part of your own IT department, just working with them.


  • Yes, I have this set up. I would suggest doing this in stages.

    1. First stage, LAN setup:
      • Pick a reverse proxy and get it working on the LAN with plain links (http://service.example.com/, no SSL). If it’s your first time using a reverse proxy, Nginx Proxy Manager has a GUI interface that’s easy to use. If you prefer to configure things by writing config files then Caddy, HAProxy and Traefik are other solid choices but there’s a bit of a learning curve involved with their config syntax ofc.
      • You’ll have to be able to control your LAN DNS (typically lives on your router) to send *.example.com to the LAN IP of the machine that the proxy lives on.
      • You also need that machine to always have the same IP, either set it statically or with DHCP (allocation by MAC address). Static is easier but make sure it doesn’t overlap DHCP’s dynamically allocated range.
    2. Secondly, get HTTPS going to you can access services at https:// on LAN.
      • Most reverse proxies have a built-in certbot that can get and renew Let’s Encrypt certs for free.
      • You can also install and schedule Certbot (it’s a Python PIP CLI app) to run standalone on the machine if you want, it will produce the cert files and you can just point the proxy at them. This is useful if you’re using multiple proxies, or if you’re switching proxy at some point.
      • You want to always get certificates for a wildcard (*.example.com), never direct domains (jellyfin.example.com or example.com). TLS certs are all public and there’s a public log that anybody can access. Direct certificates are only useful for public internet services (e.g. if you have a website at www.example.com and example.com). The public cert log is routinely used by malware bots to discover services to attack them, so the less information you give them the better.
      • This would be a good time to consider if you want to put services on the first subdomain level (*.example.com) or at an additional sublevel (*.home.example.com). You can use anything instead of .home. of course. This can be good practice long term if you intend to use the domain in other ways in the future, for example you might decide to expose something to the internet at a direct subdomain (something.example.com) and it helps if the private stuff is clearly demarcated from the public stuff.
      • You can get multiple things on a single certificate. If you want both *.example.com and *.home.example.com you can make it a single cert, no need to get them separately. But getting them separately might be useful in some cases, for example let’s say you want *.example.com to be used by something living on a VPS or a cloud service, you would want to only give that certificate to that cloud machine, not also the cert for your home stuff. But if in doubt just get the one you need for now.
      • You need to prove to Let’s Encrypt that you own the domain each time you get or renew a certificate. This is done through a method called DNS-01 (mandatory if you want wildcards) that involves putting a secret code in a TXT record at _acme-challenge.example.com for a minute or so while LE verifies it. The proxy or certbot will do this for you automatically for every renewal, but it needs a key or token to modify your public DNS for example. com. This means that whatever service handles example.com for you needs to have an API for this. If you’re using your registrar’s DNS currently it may or may not have a LE-friendly API. You don’t have to change registrar if it doesn’t, you can delegate the nameservers to a DNS provider that does. DeSEC.io is a free one that’s privacy-respecting and works with LE, has API access and is known by most certbots and proxies.
    3. Third stage is getting Tailscale to reach your reverse proxy whenever you access https://*.example.com when connected to it.
      • I’m guessing you have Tailscale running directly on the host machine that also runs the services and will run the proxy, and that the tailscale0 network interface is picking up service ports automatically when they bind to “0.0.0.0” or “all” interfaces.
      • You need to give the tailnode for the server a fixed IP in the Tailscale “machines” admin tab. It will be something in the 100.64.x.x range that Tailscale uses for its tailnets.
      • You need a dedicated DNS server that resolves *.example.com (or *.home.example.com if you decide to go with that) to that static 100.64.x.x address. Dnsmasq is a good choice, it’s small, very light on resources, and the config is a couple of text lines, basically interface=100.64.x.x and address=/example.com/100.64.x.x is all you need (to bind and resolve, respectively, to that static address).
      • Last but not least you go to Tailscale admin “DNS” section, click on “add nameserver”, pick “Custom”, enter the static 100.64. IP there, and also check “restrict to domain” and put “example.com” there. Now Tailscale will send all requests for *.example.com to your mini-DNS server, and it will resolve them to itself, and the reverse proxy is also there listening on that IP.





  • The Google Messages app distributed with Android phones only works with Google’s servers. Similarly, iOS Messages only works with Apple servers.

    The Google Jibe servers did not exchange messages with Apple Jibe servers and the other way around. So even if their respective Messages apps implement RCS separately there’s no cross-platform interactivity.

    Open standards don’t mean much for a client-server architecture when there’s no willingness to follow the exact same standard and everybody wants their own servers to get ahead and capture the clients.

    Apple has held out from implementing RCS because they have their own walled garden with iOS Messages and saw Google as an underdog trying to gain access to a larger market. They relented only when RCS on Android gained 50% market share in America and suddenly they both stood something to gain.

    Similarly, Google is stingy about sharing RCS with manufacturers they consider beneath them and who won’t use Google’s American servers on Google’s terms. But they relented in select markets because of their size (China, India), or because they were told to fuck off if they didn’t interoperate (Japan, Korea).

    That was made possible in Japan and Korea because their carriers put up a united front. In European countries by contrast each carrier tried to do their own thing (joyn), then they rolled over and used whatever Apple and Google put in front of them.


  • otherwise it’d be a bit too easy for big companies to have an “ooopsie” with their emails when requested as evidence.

    That ship has already sailed. It’s being done all the time by big companies, political entities, LEOs etc. who keep “losing” crucial incriminating evidence and absolutely nothing ever happens to them.

    The big difference is that they can demonstrate intent in this guy’s case. Using an OS that he knows will destroy its data is the equivalent of intentionally “boobytrapping” that data, and letting the police trigger that bobbytrap knowing what will happen. Whereas the people in all those high-profile cases are smart enough to feign unintentional incompetence or coincidence.



  • RCS is a client-server design unfortunately, so it will always be beholden to whomever runs the servers. A fact which is not lost on anybody who tries to implement it, who all end up trying to lock in customers and screw their business partners.

    Remember when it first came out (under the joyn moniker) and every carrier in the world and their dog tried to gatekeep it?

    It also took Google a very long time to work out a scheme where they relented to share RCS with Apple globally and with a handful of other actors regionally (Jio in India, Synchronoss in Japan, ZTE in China, Samsung in South Korea). But all these actors play their cards close to their vest and are always ready with alternatives in case the partneship goes south.


  • I will second this. The key thing here is the access method and running it on a machine that’s reliable long term, and can sit in one place instead of traveling, and is well backed up.

    Proxmox could be good if having a server where you also install other stuff figures into your business strategy. If you’re gonna do that later you might as well do it now.

    But since you haven’t used Proxmox before I’d be a bit wary of recommending it. Not sure what’s your background with self-hosting and/or system administration to begin with. In these communities we tend to take a lot of that for granted so there’s a lot of stuff that goes unsaid because it’s considered common-sense for a versed user, which may not in fact be the case for you.

    Also, not sure if the software you plan on using will deal gracefully with being used in two places at once, for example, so you can return to the laptop if something doesn’t work out with the Proxmox.

    Other than that Proxmox is a solid choice, you can take snapshots of the Windows VM with it and back them up, it makes administering VMs and containers easy in general. That’s not likely to be the issue, it’s what you do with those VMs and containers that can bite you.


  • Syncing to dovecot is what I landed on eventually too. Maildir format is plain text files so you can run backups on them as well as get the benefit of IMAP access so you can point an email client or webmail app at it to do searches and reorganizations.

    FWIW I’ve tried it the other way around, to sync from live IMAP mailbox to disk files and then convince dovecot or another private IMAP server to serve them read-only and it can be done but it’s a pain in the butt. Plus, it only gets you the ability to search but not to handle and reorganize the archive.

    The main trick is to neatly separate any handling and organization you do in the live mailbox from the organization you do on the private side. I achieve that by having a folder called Archive on the private server that doesn’t exist on live and I do all long term storage reorganization in there, while folders and changes on live get propagated to their own folders.


  • Yes what you describe is exactly what I’m doing. You don’t need any fancy apps for it, in fact it’s best if you keep it simple and do it all with IMAP.

    Now, your email provider needs to support IMAP. Normally I wouldn’t even mention this but the so-called “encrypted mail” providers like Proton make you jump through hoops so it’s not a given. (Personally I never use a provider that doesn’t offer straight IMAP, smells too much of potential lock-in.)

    You also want to self-host a private IMAP server. It’s the easiest way to handle things. Dovecot is pretty easy to set up and very good.

    (You can sync to disk as plain text files if you want but you’ll have to choose a format, and actually using those files can be awkward. Syncing to a live IMAP is ideal IMO.)

    Then you just use the mbsync or imapsync CLI tool on a schedule to bring in messages from the live mailbox(es) to the private ones.

    You can also self-host a webmail app for the private IMAP server (I like Snappy and Roundcube) that you can access securely through a reverse proxy and search your emails or you can even configure it to send through the provider’s SMTP.

    You can keep using other email clients with the live mailbox during this time.

    after 2 weeks, emails are stored on some type of self-hosted service, leaving minimal footprint on the cloud?

    Neither mbsync nor imapsync have this feature AFAIK so you’ll have to use a different tool for that.

    I achieve this in my desktop email client (Claws Mail) which has this option for POP3.

    If you want to script and automate this cleanup there are CLI tools that can do it, for example imapfilter (which takes a Lua config script) or you can put together a Python script using the imapclient library (available in pip).

    Hope this helps.


  • I’ve had only one business ask me this once but probably because I rarely have to interact with people for it.

    I did consider this when I got the “throw-away” email domain, made it something that’s easy for people to understand.

    It’s probably easier that, if you have to verbally dictate someone an email, you sneak a clue about them in there without it being super obvious. Maybe an abbreviation or a number. Like maybe you call it “gym2@” and not “nameofgym@”. Probably better overall all things considered, and as long as it’s unique it doesn’t really matter.