selfhosted Selfhosted Selfhosted S3 compatible recommendations?
Jump
  • thirdBreakfast thirdBreakfast 4 days ago 100%

    Thanks, I ended up going with Garage, but it has the same issue. I assumed I could just specify some buckets with their keys in the docker-compose or garage.toml, but no - they had to be done through the api or command line.

    2
  • selfhosted Selfhosted Selfhosted S3 compatible recommendations?
    Jump
  • thirdBreakfast thirdBreakfast 4 days ago 100%

    This is correct, I already installed the minio cli, but when I came back and read this, I tried it out and yes, once garage is running in the container, you can

    alias garage="docker exec -ti <container name> /garage"
    

    so you can do the cli things like garage bucket info test-bucket or whatever. The --help for the garage command is pretty great, which is good since they don't write it up much in the docs.

    2
  • selfhosted Selfhosted Selfhosted S3 compatible recommendations?
    Jump
  • thirdBreakfast thirdBreakfast 4 days ago 100%

    Thanks. I ended up going with Garage (in Docker), and installed the minio client cli for these tasks.

    1
  • selfhosted Selfhosted Selfhosted S3 compatible recommendations?
    Jump
  • thirdBreakfast thirdBreakfast 4 days ago 100%

    One I'm writing. I use the host file system (as I have a strong preference for simple) for it's storage, but I'm interested in adding Litestream for replicating the database onto AWS.

    2
  • selfhosted
    Selfhosted thirdBreakfast 5 days ago 100%
    Selfhosted S3 compatible recommendations?

    Has anyone got some experience/advice for choosing between the options? It seems like they are: - [Minio](https://min.io/docs/minio/container/index.html) - [Garage](https://garagehq.deuxfleurs.fr/documentation/quick-start/) - [SeaweedFS](https://github.com/seaweedfs/seaweedfs) My usecase is just to have a local single instance for testing apps against. I prefer to spin stuff up in Docker on the homelab.

    36
    18
    privacy Privacy A tool for concealing writing style using LLM
    Jump
  • thirdBreakfast thirdBreakfast 2 weeks ago 100%

    "Convert this text to make it sound like from a random person: "

    4
  • selfhosted Selfhosted Adding storage - Best options? (External USB drives, automatic decryption, media, etc.)
    Jump
  • thirdBreakfast thirdBreakfast 1 month ago 100%

    Love the effort you've put into this question. You've clearly done some quality research and thinking.

    When I asked myself this same question a couple of years ago, I ended up just buying a second hand Synology NAS to use alongside my mini-pc. That would meet your criteria, and avoids the (I'm not sure what magnitude) reliability risk of using disks connected over USB. It's more proprietary than I'd like, but it's battle tested and reliable for me.

    4
  • australia Australia Question about Australian towns
    Jump
  • thirdBreakfast thirdBreakfast 2 months ago 100%

    Yep, it'd have to be a tiny town to not have a war memorial. If there's no war memorial there's probably an honour bord with the names of the fallen in the hall or RSL. Since ANZAC it's been a part of Australian culture that those who died in service of their country is a sort of sacred thing. It's significance has ebbed and flowed a bit over the years. Our pride in the services was especially damaged in the Vietnam war years, when ANZAC day crowds shrunk quite a bit and you could have imagined at the time that it might all die out. It's had a bit of a resurgence since.

    After most big wars, the federal government has put a bit of money into war memorials, and it was pretty much just a matter of the local RSL or town council writing a letter to get a decommissioned artillery piece of some sort, or an old torpedo for the local park as a centrepiece for your ANZAC day ceremony. Also, if you read the plaques on 1950's or 60's buildings in the bush, you'll often see many of them are "War Memorials". War Memorial swimming pools and sports grounds are common ones. The reason communities did this is that at the time donations to "war memorials" were tax deductible.

    You've made an interesting observation. For Aussies this is probably something they've never noticed. It's probably not an indication that we're very war worshipping, just that for a small country, the deaths involved in the wars we've been part of were significant, and perhaps especially so for little country towns where the surnames on the honour board match some of the street names and the bloke you were just chatting to at the post office.

    1
  • privacyguides Privacy Guides Here are the best Google Maps alternatives for finding your way: With a number of community-driven, open-source mapping projects, picking a navigation app without ads or tracking has never been easier
    Jump
  • thirdBreakfast thirdBreakfast 2 months ago 100%

    Shoutout to Magic Earth, the (weirdly named) iOS app that uses OpenStreeMap data. Works on CarPlay, has reliable routing, and I get a buzz out of updating a changed a speed limit or something on OSM and then seeing the change implemented a few weeks later when I'm driving through there again.

    7
  • fosai
    Solid introduction to LLMs from Andrej Karpathy https://www.youtube.com/watch?v=zjkBMFhNj_g

    This is a pretty great 1 hour introduction to AI from [Andrej Karpathy](https://en.wikipedia.org/wiki/Andrej_Karpathy). It includes an interesting idea of considering LLMs as a sort of operating system, and runs through some examples of jailbreaks.

    33
    1
    selfhosted Selfhosted Uses for local AI?
    Jump
  • thirdBreakfast thirdBreakfast 2 months ago 100%
    starcoder2:latest       	f67ae0f64584	1.7 GB	3 days ago 	
    phi3:latest             	d184c916657e	2.2 GB	3 weeks ago	
    deepseek-coder-v2:latest	8577f96d693e	8.9 GB	3 weeks ago	
    llama3:8b-instruct-q8_0 	1b8e49cece7f	8.5 GB	3 weeks ago	
    dolphin-mistral:latest  	5dc8c5a2be65	4.1 GB	3 weeks ago	
    codeqwen:latest         	df352abf55b1	4.2 GB	3 weeks ago	
    llama3:latest           	365c0bd3c000	4.7 GB	4 weeks ago
    

    I mostly use starcoder2 with Continue for code autocomplete, the big deepseek coder is a bit slow (I can feel it thinking), but it and the regular llama3 are good for chatbot type programming questions.

    I don't really have anything to compare the M1 performance to. I guess the 8GB models output text a little slower than the web versions of the same models, and the 4GB ones about the same. Using ollama in the terminal, there's sometimes a 0.5-2 second pause before it starts outputting. Not with phi3 though - it's surprisingly snappy for the quality of answers.

    1
  • selfhosted Selfhosted What's the bang for the buck go to setup for AI image generation and LLM models?
    Jump
  • thirdBreakfast thirdBreakfast 2 months ago 100%

    An M1 MacBook with 16GB cheerfully runs llama3:8b outputting about 5 words a second. A second hand MacBook like that probably costs half to a third of a secondhand RTX3090.

    It must suck to be a bargain hunting gamer. First bitcoin, and now AI.

    edit: a letter

    7
  • selfhosted Selfhosted Uses for local AI?
    Jump
  • thirdBreakfast thirdBreakfast 2 months ago 100%

    I use the Continue VS Code plugin with Ollama to use a couple of different models (deepseek-coder-v2 & starcoder2) to recreate a local only Github Copilot type experience for coding. This is on an M1 Apple Silicon though. For autocomplete the generation needs to be pretty brisk - I'm not sure how that would go in a VM without a GPU.

    4
  • canvas Canvas 3ish hours left for canvas 2024!! also what countries are participating
    Jump
  • thirdBreakfast thirdBreakfast 2 months ago 100%

    Thanks for your work on this grant, and especially for the fast work fixing the issues under pressure. I had fun benefiting from your efforts.

    5
  • selfhosted Selfhosted Do you poweroff your server during night / unused times?
    Jump
  • thirdBreakfast thirdBreakfast 2 months ago 100%

    My NAS and production server run 24/7, I've got a dev server that I turn off if I'm not expecting to use it for a week or so. Usually when I do that, I immediately need it for something and I'm away from home. I have chosen equipment to try and minimize energy use to allow for constant running.

    My view on UPS is it's a crucial part of getting your availability percentage up. As my home lab turned into crucial services I used to replace commercial cloud options, that became more important to me. Whether it is to you will depend on what you're running and why.

    I've heard that one of the most likely times for hard drives to fail is on power up, and it also makes sense to me that the heating/cooling cycles would be bad for the magnetic coating, so my NAS is configured to keep them spinning, and it hasn't been turned off since I last did a drive change.

    7
  • selfhosted Selfhosted HTTPS on homelab (just locally)
    Jump
  • thirdBreakfast thirdBreakfast 2 months ago 100%

    I agree. Get a domain name, point it to the internal address of your NGINX Proxy manager (or other reverse proxy that manages certificates that you are used to). A bit of work initially, then trivial to add services afterwards.

    I didn't really need encryption for my internal services (although I guess that's good), but I kept getting papercuts with browser warnings, not being able to save passwords, and some services (eg container repository on Forgejo) just flat out refusing to trust a http connection.

    1
  • selfhost Self Hosted - Self-hosting your services. [Question] What should I look for in a mini PC to upgrade
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    My step-up from Pi was to ebay HP 800 G1 minis then G2's. They are really well made, there's full repair manuals available, and they are just a pleasure to swap bits in and out. I've heard good things about, and expect similar build quality from the 1 liter Lenovos.

    I agree that RAM is a likely constraint rather than processor for self-hosting workloads. Particularly in my case as I'm on Proxmox and run all my docker containers in separate LXCs. I run 32GB in the G2's which was a straightforward upgrade (they take laptop like memory). One some of them I've upgraded the SSDs, or if not, I've added M.2 NVME drives (that the G2's have a slot for).

    2
  • nostupidquestions No Stupid Questions What's the most likely end of mankind and our world as we know it?
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%
    • Climate change contributing to
    • Climate refugees contributing to
    • Breakdown in social cohesion contributing to
    • Populism, oligarchs, and authoritarianism contributing to
    • Breakdown of international cooperation contributing to
    • Inter-nation conflict contributing to
    • GOTO 10
    7
  • selfhosted Selfhosted Is it practically impossible for a newcomer selfhost without using centralised services, and get DDOSed or hacked?
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    Yeah na, put your home services in Tailscale, and for your VPS services set up the firewall for HTTP, HTTPS and SSH only, no root login, use keys, and run fail2ban to make hacking your SSH expensive. You're a much smaller target than you think - really it's just bots knocking on your door and they don't have a profit motive for a DDOS.

    From your description, I'd have the website on a VPS, and Immich at home behind TailScale. Job's a goodun.

    1
  • selfhosted Selfhosted Is it practically impossible for a newcomer selfhost without using centralised services, and get DDOSed or hacked?
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    +1 for the main risk to my service reliability being me getting distracted by some other shiny thing and getting behind on maintenance.

    39
  • opensource Open Source Discussion: Do you donate financially to any OSS projects?
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    I love this idea (of just picking something I'm loving each month), it would help me overcome my decision paralysis about who to support.

    5
  • opensource Open Source Discussion: Do you donate financially to any OSS projects?
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    Yes, a few. Signal (daily use), LetsEncrypt & Certbot (EFF). It's not enough.

    One day I decided I'd spend $x every January (when I do all my other donations) on open source stuff I depend on, and roughly in the proportions I depend on them. It quickly became impossible - I can't just fund Debian (which I use a lot of in VMs), I'd need to think of all their dependencies, same with NGINX, Node etc etc. The mind boggles.

    I need something like a Spotify subscription for open source to assuage my guilt of the great value I extract for my personal use of open source.

    6
  • coffee Coffee Noob espresso experience (longish post)
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    Thanks. I'll keep an eye out. Now I know that it gets daily use, a more expensive machine doesn't seem so crazy.

    1
  • asklemmy Ask Lemmy How did you acquire the first 1000 words?
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    Yes, and it's very phrased based, so you sort of absorb the grammar without a lot of explicit rules.

    2
  • historyporn HistoryPorn Cat peeking out of a Nazi Sd.Kfz.222 armored car, date unknown, Interwar or WW2-era
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    Or start scratching the shit out of your hand half way through a tummy rub.

    1
  • selfhosted Selfhosted Self hosting is hard. How do you overcome?
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    I started as more "homelab" than "selfhosted" as first - so I was just stuffing around playing with things, but then that seemed sort of pointless and I wanted to run real workloads, then I discovered that was super useful and I loved extracting myself from commercial cloud services (dropbox etc). The point of this story is that I sort of built most of the infrastructure before I was running services that I (or family) depended on - which is where it can become a source of stress rather than fun, which is what I'm guessing you're finding yourself in.

    There's no real way around this (the pressure you're feeling), if you are running real services it is going to take some sysadmin work to get to the point where you feel relaxed that you can quickly deal with any problems. There's lots of good advice elsewhere in this thread about bit and pieces to do this - the exact methods are going to vary according to your needs. Here's mine (which is not perfect!).

    • I'm running on a single mini PC & a Synology NAS setup for RAID 5
    • I've got a nearly identical spare mini PC, and swap over to it for a couple of weeks (originally every month, but stretched out when I'm busy). That tests my ability to recover from that hardware failure.
    • All my local workloads are in LXC containers or VM's on Proxmox with automated snapshots that are my (bulky) backups, but allow for restoration in minutes if needed.
    • The NAS is backed up locally to an external USB that's not usually plugged in, and to a lower speced similar setup 300km away.
    • All the workloads are dockerised, and I have a standard directory structure and compose approach so if I need to upgrade something or do some other maintenance of something I don't often touch, I know where everything is with out looking back to the playbook
    • I don't use a script or Terrafrom to set those up, I've got a proxmox template with docker and tailscale etc installed that I use, so the only bit of unique infrastructure is the docker compose file which is source controlled on Forgejo
    • Everything's on UPSs
    • A have a bunch of ansible playbooks for routine maintenance such as apt updates, also in source control
    • all the VPS workloads are dockerised with the same directory structure, and behind NGINX PM. I've gotten super comfortable with one VPS provider, so that's a weakness. I should try moving them one day. They are mostly static websites, plus one important web app that I have a tested backup strategy for, but not an automated one, so that needs addressed.
    • I use a local and an external UptimeKuma for monitoring, enhanced by running a tiny server on every instance that just exposes a disk free and memory free api that can be consumed by Uptime.

    I still have lots of single points of failure - Tailscale, my internet provider, my domain provider etc, but I think I've addressed the most common which would be hardware failures at home. My monitoring is also probably sub-par, I'm not really looking at logs unless I'm investigating a problem. Maybe there's a Netdata or something in my future.

    You've mentioned that a syncing to a remote server for backups is a step you don't want to take, if you mean managing your own is a step you don't want to take, then your solutions are a paid backup service like backblaze or, physically shuffling external USB drives (or extra NASs) back and forth to somewhere - depending on what downtime you can tolerate.

    7
  • asklemmy Ask Lemmy People who started learning a second language, how has it made you aware how broken English is ?
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    Same with consistent pronunciation in Indonesian - it's so much better. I feel sorry for little kids learning to read English and getting told to 'sound it out'. Sure thing, which of the five to nine sounds shall I use for the letter 'a'?

    3
  • selfhosted Selfhosted Self hosted cloud with mac app that can sync and filestream (similar to google drive)
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    +1 for Syncthing. I run it on a server at home, then on my MacBook over Tailscale. For web access I run FileBrowser (also over Tailscale) against the same directory.

    5
  • learn_programming
    Learn Programming thirdBreakfast 3 months ago 100%
    Value of "encrypted at rest" data

    I'm writing a specification for a web app that will store sensitive user data, and the stakeholder asked that I consider a number of fairly standard security practices, but also including that the data be "encrypted at rest", i.e. so that if someone gains physical access to the hard disk at some later date the user data can't be retrieved. The app is to be Node/Express on a VPS (probably against sqlite3), so since I would be doing that using an environmental variable stored in a file on that same computing instance, is that really providing any extra security? I guess cloud big boys would be using key management systems to move the key off the local instance, and I could replicate that by using (Hashicorp Vault?) or building a service to keep the key elsewhere, but then I'd need secure access to that service, which once again would involve a key being stored locally. What's your thoughts, experience, or usual practice around this?

    16
    4
    asklemmy Ask Lemmy What are some good sketch comedy shows?
    Jump
  • thirdBreakfast thirdBreakfast 3 months ago 100%

    Lots of good mentions here, but I'm not seeing my fav, Smack the Pony

    5
  • coffee Coffee Noob espresso experience (longish post)
    Jump
  • thirdBreakfast thirdBreakfast 4 months ago 100%

    Thanks for the tip on the squeal. Now you've said that I realise I don't hear it when I'm frothing directly in a ceramic mug (as I do for hot chocolate), so I'll try a different jug.

    5
  • coffee
    Coffee thirdBreakfast 4 months ago 95%
    Noob espresso experience (longish post)

    I asked for some advice here a couple of months ago about transitioning to espresso from Aeropress, and have since done that, and thought my journey my have some lessons for others, or y'all might have some ideas for my remaining issues. **Journey** Instant -> Nespresso pods -> Aeropress -> multiple daily espresso **Machine** After a bit of research, I was quite keen on the Sage/Breville [Dual Boiler](https://www.sageappliances.com/uk/en/products/espresso/bes920.html), but it was well out of my price range. I ended up purchasing ["The Infuser"](https://www.coffeeness.de/en/breville-infuser-review/) which is like their bean to cup Barista Express without the built in grinder. I had been planning on getting the Bambino, but the Infuser was less money (AUD350 - perhaps this model is being retired) and seemed more like a 'real' espresso machine. The Infuser is a 54mm portafilter, PID, three way valve machine. The water heats quickly (although not as quickly as the Bambino) although I tend to turn it on and let it sit for a while to let the group head warm through anyway. It's supposed to have volumetric dosing, but the volume output changes with the grind, so perhaps this is just setting how many pumps of the little piston pump or something. It's not time either. In any case, it does allow you to make repeatable shots once you've dialed in and set it. The setting is very simple to change. The water tank is plenty big enough for me, and the drip tray might be on the small side - I generally empty it every coffee but you could probably do two. **Accessories** I have a personal failing wherein I buy too many gadgets when I'm excited about a new hobby. I'd originally started with a Rhinowares hand grinder with my Aeropress, but had found a 2021 Timemore C2 on eBay which is nicer to hold, and grinds the same amount of beans with a lot less turns. Perhaps it is visibly more consistent particle size, or perhaps I'm imagining that to justify this purchase. I'm very happy with the eBay puck screen I purchased. I don't know that it's making the coffee any better, but it's keeping the group head clean enough that I don't bother scrubbing it after each shot, and the pucks I tip out of the portafilter have gone from 6.5 to a 3.5 on the Bristol stool chart. I also got the cheapest ring that goes over the portafilter I could get for charging the basket, and that plus reducing to around 16gm of beans (I only use the double unpressurised basket) means I don't up with tiny specks of coffee all over the kitchen which was a constant issue when I started. I also have a $2 eBay needle distribution tool, a couple of swirls with that means that when I bang the portafilter on the bench a twice I have a pretty flat, clump free looking bed of grounds that I've just been tamping with the supplied plastic tamp. I've never used anything different, so this seems fine to me although I wish it was a tiny bit bigger as there's a visible ridge left around the outside after tamping. This is probably a future upgrade. I bought a couple of 220mlish ceramic cups, which I love the look and experience of. If you popped in to see me, that's what I'd serve you, but for daily use I use Duralex 220ml latte glasses since I'm still getting used to the milk frothing process and it's easier to see how that's gone in a glass. **The Experience** My main concern going to espresso was that it would be more mucking on than the Aeropress and that I'd give up and go back to that. Actually, it's probably a similar amount of carry on - just more bench space. They are both more time consuming than the Nespresso machine, but in my opinion worth it for the better coffee experience. Dialing in has been a bit of a challenge - I'm chasing 16 in, 32 out in 30 seconds, but the click steps on the Timemore seem too big. For example on the medium roast I'm drinking this week that recipe goes from 22 seconds to 50 seconds with a single click. I'm not sure if I'm doing something wrong - I don't think so. In any case, I've just been choosing whatever is closest, and altering the dose and tamp pressure tiny bits to try and improve it a little as I work though that lot of beans. This seems fine for milk drinks. Fussing on frothing the milk seemed like an optional thing to me, and I wasn't sure I was going to bother (with the Aeropress I just microwaved my milk) but that silkiness of the milk coffee when this is done correctly turns out to very worth. My latte art is highly variable, tending to mostly rubbish [@daddyjones@lemmy.world](https://lemmy.world/u/daddyjones) knows what I'm talking about. I think my frothing is fine, but other people seem to be able to decide when the white blob appears on top, whereas mine randomly appears when it feels like it - often too close to the end of the pour when the cup is full. I'm sure this is to do with distance and speed of the pour and I'm missing something important. Feel free to offer suggestions. The steam wand on this Breville is quite slow (which is probably a plus for me while I'm learning to steam milk), and makes a horrid squealing noise that no one would want to hear in the morning. I don't know if that's all steam wands in the world, just this model, or just my machine or my technique, but the cure seems to be to lower the jug and make half a second of stupidly large bubbles then put the tip back in. Stopping steaming when I was burning my hand on the jug (which seems to be the standard advice) produced coffee that wasn't hot enough, so I purchased a milk temperature gauge, and highly recommend this. I've started counting how many seconds after the jug is too hot for my hand before the temperature gauge is just touching the red zone, so I could probably ditch it now. **Conclusions** Basically - no regrets. I'm enjoying lovely coffees that feel like a treat every day. I think a grinder with finer steps might be in my (distant) future, and I'd like to solve my latte art issues, but overall the experience has been a source of joy.

    75
    9
    apocalypticart ApocalypticArt ⚠️ [Announcement] ApocalypticArt has moved to discuss.tchncs.de! ⚠️
    Jump
  • thirdBreakfast thirdBreakfast 4 months ago 100%

    Oh no! So this sub is to become a barely inhabited dystopian wasteland? Weeds and vines slowly growing over the crumbling remains?

    4
  • programming Programming Codeium - Copilot competitor
    Jump
  • thirdBreakfast thirdBreakfast 4 months ago 88%

    I switched from Copilot to Codeium after only a couple of months of Copilot use - just based on the cost since currently I'm just a hobby coder.

    The main difference I've noticed is that Codeium doesn't seem as smart about the local context as Copilot. Copilot would look at how I'm handling promises in a project, and stick to that, whereas Codeium would choose a strategy seemingly at random.

    A second, and maybe more telling example, is that I do my accounts using 'plain text accounting' in VS Code. This is a very niche approach to accounting software and I imagine is hardly in the training sets at all - there certainly would not be a lot of public domain text accounts in the particular format (BeanCount) I use in public code repositories. Codeium doesn't make any suggestions for entries as I'm entering transactions, whereas Copilot would see that the account names I'm using are present in another file in the project and suggest them, and very quickly figure out the formatting of transactions and suggest them correctly.

    7
  • jellyfin Jellyfin: The Free Software Media System Release 10.9.3 · jellyfin/jellyfin
    Jump
  • thirdBreakfast thirdBreakfast 4 months ago 100%

    Ah. I felt like a x.x.3 version was long enough to wait for things to be shaken out, and had decided to update to 10.9.x, but I might leave it for a little bit.

    2
  • jellyfin Jellyfin: The Free Software Media System Release 10.9.3 · jellyfin/jellyfin
    Jump
  • thirdBreakfast thirdBreakfast 4 months ago 100%

    Yep, shoutout to the contributors, they are certainly not dragging their feet on all these bugfixes.

    12
  • selfhosted
    Selfhosted thirdBreakfast 4 months ago 99%
    ‘My whole library is wiped out’: what it means to own movies and TV in the age of streaming services www.theguardian.com

    *What rights do you have to the digital movies, TV shows and music you buy online? That question was on the minds of Telstra TV Box Office customers this month after the company announced it would shut down the service in June. Customers were told that unless they moved over to another service, Fetch, they would no longer be able to access the films and TV shows they had bought. *

    548
    128
    asklemmy Ask Lemmy Who Are Todays Heroes?
    Jump
  • thirdBreakfast thirdBreakfast 5 months ago 78%

    Greta Tintin Thunberg

    8
  • selfhosted Selfhosted How much maintenance do you find your self-hosting involves?
    Jump
  • thirdBreakfast thirdBreakfast 5 months ago 100%

    I run two local physical servers, one production and one dev (and a third prod2 kept in case of a prod1 failure), and two remote production/backup servers all running Proxmox, and two VPSs. Most apps are dockerised inside LXC containers (on Proxmox) or just docker on Ubuntu (VPSs). Each of the three locations runs a Synology NAS in addition to the server.

    Backups run automatically, and I manually run apt updates on everything each weekend with a single ansible playbook. Every host runs a little golang program that exposes the memory and disk use percent as a JSON endpoint, and I use two instances of Uptime Kuma (one local, and one on fly.io) to monitor all of those with keywords.

    So -

    • weekly: 10 minutes to run the update playbook, and I usually ssh into the VPS's, have a look at the Fail2Ban stats and reboot them if needed. I also look at each of the Proxmox GUIs to check the backs have been working as expected.
    • Monthly: stop the local prod machine and switch to the prod2 machine (from backups) for a few days. Probably 30 minutes each way, most of it waiting for backups.
    • From time to time (if I hear of a security update), but generally every three months: Look through my container versions and see if I want to update them. They're on docker compose so the steps are just backup the LXC, docker down, pull, up - probs 5 minutes per container.
    • Yearly: consider if I need to do operating systems - eg to Proxmox 8, or a new Debian or Ubuntu LTS
    • Yearly: visit the remotes and have a proper check/clean up/updates
    4
  • nottheonion Not The Onion RFK Jr. Swears He Wasn’t Thirsty for Fitness Influencer on TikTok
    Jump
  • thirdBreakfast thirdBreakfast 5 months ago 90%

    I'm on board with original punctuation going inside the quote, but then to be consistent, capitalization has to as well. So instead of "This comment..." it should be "this comment..." since in the original quote that was just a clause separated by a comma, not its own sentence.

    9
  • opensource Open Source So, I want a t-shirt to show off love to open source. I need some org to buy it from (so my money counts). I also want it to have a clear message to regular people.
    Jump
  • thirdBreakfast thirdBreakfast 5 months ago 100%

    The Debian thong made me laugh. Who is buying this? For themselves, their partners? I'm imagining Christmas morning when I'm trying to explain the value of this gift you've just opened.

    15
  • selfhosted Selfhosted Network loss after 24hrs on Docker LXC
    Jump
  • thirdBreakfast thirdBreakfast 5 months ago 100%

    My 'good reason' is just that it's super convenient - for backups and painlessly moving apps around between nodes with all their data.

    I would run plain LXCs if people nicely packaged up their web apps as LXC templates and made them available on LXCHub for me to run with lxc compose up, but they generally don't.

    I guess another alternate future would be if Proxmox added docker container supervision to their web interface, but you're still not going to have the self-contained neat snapshot system that includes the data.

    In theory you should be able to convert an OCI container layer by layer into an LXC, so I bet there's projects out there that attempt this.

    3
  • selfhosted Selfhosted Network loss after 24hrs on Docker LXC
    Jump
  • thirdBreakfast thirdBreakfast 5 months ago 100%

    No answer, but just to say I run most of my services with this setup - Docker in a Debian LXC under Proxmox, and don't have this issue. The containers are 'privileged', and I have 'nesting' ticked on, but apart from that all defaults.

    1
  • curatedtumblr Curated Tumblr Protecting your grain in 700 BC
    Jump
  • thirdBreakfast thirdBreakfast 5 months ago 100%
  • selfhosted Selfhosted Self hosting courses on Udemy
    Jump
  • thirdBreakfast thirdBreakfast 5 months ago 66%

    There are a heap of general "Linux Administration" courses which will patch a lot of holes in the knowledge of almost all self-taught self hosters. I'd been using Linux for a while but didn't know you could tab to complete file names in commands till I learned it on Udemy ¯_(ツ)_/¯

    1
  • docker
    Docker thirdBreakfast 6 months ago 100%
    Confused about image digests

    I've been thinking about writing a script that would alert me if there was an updated version of an image I was running. DockerHub shows an image digest on the page for that tag: ![](https://lemmy.world/pictrs/image/c5b11a4c-17cf-4510-a166-67b72b122cc3.png) And I can extract the digest for an image I am running with: `docker inspect --format='{{index .RepoDigests 0}}' jc21/nginx-proxy-manager:latest` This matches the one from the DockerHub screenshot. But I can't see a CLI way to get the image digest from a registry. It seems like: `docker manifest inspect jc21/nginx-proxy-manager:latest` should do it, but it pulls out the digest of each of the architecture builds for that tag instead of the one shown in dockerhub. Is there a way to compare the current local image with one in a registry from the command line? Or perhaps there's a more sensible way to do this?

    7
    1
    coffee
    Coffee thirdBreakfast 6 months ago 98%
    Are you getting good use out of your espresso machine?

    I'm currently brewing in an Aeropress, and considering one of the lower end espresso machines. But based on a few comments from James Hoffmann about him drinking filter coffee at home, I'm wondering if an espresso machine is something that people end up using every day, or if people are brewing with simpler methods and just making espressos when they've got time on the weekend or people over? What's your experience, did you buy a machine and it mostly just takes up counter space, or is it a daily source of joy?

    52
    38
    coffee
    Coffee thirdBreakfast 6 months ago 97%
    How are you brewing your Aeropress?

    Somewhat bewildered by the millions of Aeropress recipes on youtube, I'm wondering if daily users end up settling into a reliable, simple process that's similar from person to person. In particular, I note that my method (basically a french press) is vastly different from the one in the instructions which is ground much finer, uses less water, and starts dripping through the filter immediately. Anyway, here's me: - 12g mild-roast (coarse ground a touch finer than most people would use for a french press, done with a C2) - inverted - one filter paper, not washed, but damp enough to stick - fresh boiled water (so probs 95°+) 180g - stir enough to break up the floaties - push the plunger in far enough that the liquid is almost at the top before I put the filter on - tip over and start plunging at 1:30, finish by 2:00 - into ~70g warmed milk I'd love to hear yours.

    36
    15
    coffee
    Coffee thirdBreakfast 6 months ago 95%
    New grinder. Definitely needs a few more clicks.

    Moved from a Rhinowares to a 2021 Timemore C2, stumbled out to breakfast and used the same clicks without thinking.

    61
    3
    coffee
    Coffee thirdBreakfast 7 months ago 100%
    I need help with tasting basics

    I'm a coffee newb - bought an Aeropress and a Rhino hand grinder, and I've sort of flailed around changing things randomly and ended up with an enjoyable repeatable cup by sticking to the same beans, grind, water temperature, brew time & method that seems to work for me. My issue is I'm not really sure about the terms used to describe the basic aspects of coffee taste - eg bitter, sour, acidic, under extracted, over extracted, etc. I feel like if I did understand them, that would give me the skill to try different things (such as a different roast) and adjust the other factors to match them to get something that suits me, or to be able to make a cup of coffee that would suit someone else's taste. I'm wondering if you're able to tell me how to deliberately create these other tastes - I imagine I could comparatively taste them and mentally match the words to the sensations. For example, how can I deliberately create an obviously bitter cup, an over extracted cup etc. The resources I've got for this project are the Aeropress and grinder mentioned, Nespresso machine, a medium and a dark roast, a French Press, and whatever coffee I can get from a supermarket. Does this sound like a viable plan? If so, what are the tastes I should learn, and how can I create guaranteed and slightly exaggerated versions of them?

    26
    5
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMI
    MiniPCs thirdBreakfast 9 months ago 94%
    HP 800 G2s - The Pi killers

    I started on Elitedesk 800 G1s when Raspberry Pis got hard to find and expensive, and I now feel they are better in every respect if you don't need the GPIO pins. Every time I open them up to upgrade something I'm impressed with the level of engineering. There are quality manufacturer manuals for them, the cooling is good and they look great

    110
    19
    flashlight
    flashlight thirdBreakfast 9 months ago 100%
    Quick look - Nitecore P20iX

    The P20iX is a tacticool type 21700 size light. It's very floody - perfect for inside buildings or close range outside where you need a big field of view, and bright enough at 4000 lumens . The bumps on the front are something super tough for breaking car windows etc - so I guess aimed at first responder types. I quite like the double clicky tail switch. One is a really solid on/off click and the other cycles between light levels. It has two modes, I use it in the everyday mode where it remembers the light brightness from when you turned it off. There also a hard core mode where it always turns on in max. The hard plastic holster has a hole in the bottom, which I assume is to avoid melting it with the 4 x 4 x CREE XP-L2V6 leds, but I have occasionally just turned it on in the holster for general lighting if I needed both hands. Since it's quite easy to pull it out of the holster, I do have a slight worry that it will come out by itself if I'm clambering around somewhere - but it never has yet. The holster is intended for clipping on those massive duty belts - it would swing around a bit otherwise. I have a vague recollection it came with some clips to use on narrower belts but perhaps I've thrown them away. The 21700 battery it needs is a weird Nitecore one with positive and negative contacts each end. I wasn't wild about that, but in practice I never carry spare batteries, so they can be weird or built in and it's no particular problem. If you really hate this idea, there is an optional caddy for 2 x cr123s - but less brightness and lower run times. ![](https://lemmy.world/pictrs/image/b278e58e-ef4f-49bd-bbca-7505195c381b.jpeg) ![](https://lemmy.world/pictrs/image/9cb063a2-ef01-47d4-ab95-98d7ce9e9581.jpeg)

    26
    7
    flashlight
    flashlight thirdBreakfast 10 months ago 96%
    Quick look - RovyVon A5x

    The RovyVon A5x is my EDC at the moment, and I love it enough that I bought another one when I killed it in the washing machine (it's IP66 - but only with the charging plug in - long story at the end). Like a few of these little lights, it has ancillary LED's on the side. I chose the white+UV side LEDs. The other option is white + red which would probably be more useful, except this is the glow-in-the-dark case, and the UV supercharges that in a couple of seconds. The GITD is not amazing, but if you're camping away from city lights, it's still bright enough to find the next morning right up till the sun comes up. The choices for the main LED are CREE XP-G3 or Nichia 219C. I went with the Nichia with a warmer CRI. The Nichia is 450 lumens vs the Cree 650. The battery is rated 330mAh and is USB-C chargeable (I think my old one was mini USB?). The story with the charging plug on my old one was I washed it in the pocket of some pants, and it still worked, but I could see a drop of moisture inside. I pulled the charging port stopper right out since it kept half closing itself in the rice. Then I couldn't get it back in (probably could have with tweezers) so I thought I'd do that later, then washed it again the following weekend without the plug in. I went all out with the drying attempts, but it was properly soaked through, and never came back from that. It doesn't really tailstand unless you've got the magnet on (I do) and something to stick it to. It's just a lovely little general use torch for your pocket. ![reflector view](https://lemmy.world/pictrs/image/a35b2879-64fd-4737-abd9-7023565aa748.jpeg)

    27
    11
    flashlight
    flashlight thirdBreakfast 11 months ago 97%
    What's your most used light?

    I own, and often carry, a lot of lights. The [i1R2](https://www.olightstore.com.au/i1r-2-eos-kit) probably hasn't got the most hours on it, but in terms of the number of times it gets turned on, it's by far the winner.

    70
    38
    flashlight
    flashlight thirdBreakfast 12 months ago 90%
    What's in your pocket right now?

    I've EDC'd something like this for about sixteen years. This is the RovyVon [Aurora A5](https://www.rovyvon.com/en-au/products/aurora-a5-usb-c-gitd-keychain-flashlight-4th-generation) (G3)-UV + White with the Nichia 219C LED. I mostly just use the UV to give the glow in the dark case a little charge as I'm dropping it on the nightstand. It's not my first A5 - I've killed one in the washing machine. I replaced that one with a [Fenix E05R](https://fenixlight.com.au/product/fenix-e05r-400-lumens-usb-rechargeable-led-torch-black/) which is way more washing machine proof, but I just never had the same love for it as I do for the A5. Before those, for many years it was the Fenix LD01 - mine has that wonderful beat up look you only get from using a light every day for years. There's also been a number of no-name 10440 lights that I seem to lose more easily than the brand name ones :-/ In the same pocket is an [Olight i1R 2](https://www.olightstore.com.au/i1r-2-eos-kit.html) on my keys - so it also has the 'well worn' look.

    34
    29
    selfhosted
    Selfhosted thirdBreakfast 1 year ago 97%
    Certbot is great. Let's Encrypt is great.

    I've been downloading SSL certificates from my domain provider, using `cat` to join them together to make the `fullchain.pem`, uploading them to the server, and myself adding a 90 day calendar reminder. Every time I did this I'd think *I should find out about this [Certbot](https://certbot.eff.org/) thing*. Well, I finally got around to it, and it was one of those jobs which turns out to be so easy you wish you'd done it ages ago. The install was simple (I'm using nginx/ubuntu). It scans up your server conf files to see which sites are being served, asks you a couple of questions, obtains the Let's Encrypt certificate for them, installs it, updates your conf files to use it, and sets up a cron job to check if it's time to renew the certificate, which it will also do auto-magically. I was so pleased with it I made a donation to the EFF for it, then I started to think about how amazingly useful Let's Encrypt is, and gave them one too. It's just a really good time to be in this hobby. I highly recommend Certbot. If you've been putting this off, or only just hearing about it, make some time for it.

    586
    56
    programming
    Programming thirdBreakfast 1 year ago 96%
    Validate your input, I guess www.theguardian.com

    >Nats says that the failure was triggered by a single piece of data in a flight plan that was wrongly input to its system by an unnamed airline. It will be fascinating as the details of this emerge.

    83
    5
    selfhosted
    Selfhosted thirdBreakfast 1 year ago 96%
    wildcard email hosting/forwarding?

    I have an ancient domain that for years has been hosted with a company that allowed wildcard email forwarding - so *@example.com was forwarded to my gmail. So over the years, I've just used a new email address for every signup of anything. Sadly, the company is getting out of hosting, so I need to move the domain somewhere. The commercial email hosting I've seen seen around is all paid for per mailbox. Is there a commercial email host that would allow a wildcard like that? I have low desire to run my own email hosting, but perhaps if it's just a bunch of forwards that might be simpler?

    28
    34
    selfhosted
    Selfhosted thirdBreakfast 1 year ago 96%
    Cancelled Dropbox

    Such a good feeling cancelling my paid tier on Dropbox this week. I've been 'playing' at self hosting for a few months, and now I'm confident in my infrastructure and processes so I can start turning off some of the cloud things I've been paying for. Dropbox has gone in favor of [Syncthing](https://syncthing.net/) over [Tailscale](https://tailscale.com/) in a hub and spoke arrangement to a VM at home. The main compromise I've had to make is on the iOS experience. The next subscriptions I'll be cancelling will be Evernote (I have so loved this over the years, but as they've added 'features' the app experience has degraded to the point where it's no longer reliable to add notes from my phone). I'm currently trying [Obsidian](https://obsidian.md/) for this , but thinking about a simpler web markdown editor for mobile. After that, all my Wordpress blogs will be coming home to my VPS, I imagine with some sort of static site generator.

    116
    26