What exactly do you think discard means?
- 1 Post
- 38 Comments
I think it’s important to know that this program is for code developers, and the issue here is with a tool called git. Git is like file saving on steroids, because on top of saving a single file, you save many changes to files in git, add a comment for why you made those changes, and share your changes across dozens of files with other developers.
What this guy did was develop for many months after starting to use git, but he never actually committed the files. Then he asked for to reset everything back to the original state, something that I do multiple times a day, and it gave him a warning that original means original and you will lose everything. And he said do it anyways.
Starbuck@lemmy.worldto Linux@programming.dev•systemd Talks Up Automatic Boot Assessment In Light Of The Crowdstrike-Microsoft Outage224·1 year agoBecause documentation was so great for sysv and everything else back in the day…
To actually answer your question, you need some kind of job scheduling service that manages the whole operation. Whether that’s SSM or Ansible or something else. With Ansible, you can set a parallel parameter that will say that you only update 3 or so at a time until they are all done. If one of those upgrades fails, then it will abort the process. There’s a parameter to make it die if any host fails, but I don’t recall it right now.
If I see comments explaining every other line, especially describing “what” instead of “why”, I assume the code was written by a recent grad and is going to be bad. Describing what you are doing looks like you are doing a homework assignment.
Like on that line, obviously we’re initializing a variable, but why 1 instead of 0? Could be relevant to a loop somewhere else, but I guess I’ll have to figure that out by reading the code anyways.
Starbuck@lemmy.worldto Jellyfin: The Free Software Media System@lemmy.ml•local cloudflare alternativeEnglish1·1 year agoI think you should understand that if you are opening ports to the wide internet, you are putting yourself and anyone else on your network at risk. You’re playing with fire here.
I have this setup with Tailscale so that I can watch plex from anywhere, without exposing ports to devices that I don’t trust and I can help you if you want. But don’t expose 80 to the internet.
Starbuck@lemmy.worldto Jellyfin: The Free Software Media System@lemmy.ml•local cloudflare alternativeEnglish1·1 year agoI do Tailscale on every device, but they also have a Funnel service that might work for you
Starbuck@lemmy.worldto Jellyfin: The Free Software Media System@lemmy.ml•local cloudflare alternativeEnglish1·1 year agoMaybe look into Tailscale. At the end of the day, someone needs to open up the ports, but Tailscale does it strictly to negotiate a VPN connection between two devices, so they don’t see the traffic that goes over the tunnel.
For anyone wondering what a document should look like, the DoD publishes that for anyone to read. Just search Derivative Classifier Training. Spoiler alert: this ain’t what a top secret document looks like.
Starbuck@lemmy.worldto Linux@lemmy.ml•This hasn't been fixed, at this point should I just reinstall? {Solved}2·1 year agoHow have I never seen that before. It’s perfection
Starbuck@lemmy.worldto Linux@lemmy.ml•This hasn't been fixed, at this point should I just reinstall? {Solved}14·1 year agoDon’t you go and reinstall, learn how to fix this
Starbuck@lemmy.worldto Selfhosted@lemmy.world•how to access nextcloud outside LAN?English1·1 year agoRealistically, yes. But it’s a phrase and it’s important that they start doing that first. Maybe it’s their intention to do it publicly.
Also, sure, but a Wireguard installation is going to be much more secure than a Nextcloud that you aren’t sure if it’s configured correctly. And Tailscale doubly so.
Starbuck@lemmy.worldto Selfhosted@lemmy.world•how to access nextcloud outside LAN?English11·1 year agoPlease set up Tailscale or a Wireguard VPN before you start forwarding ports on your router.
Your configuration as you have described it so far is setting yourself up for a world of hurt, in that you are going to be a target for hackers from literally the entire world.
Starbuck@lemmy.worldto DeGoogle Yourself@lemmy.ml•Researchers confirm what we already knew: Google results really are getting worse1·1 year agoI think the real headline here is that the internet overall has gotten worse, and even the top Google results still point to shit.
Starbuck@lemmy.worldto Selfhosted@lemmy.world•ELI5: What is OpenStack? How to get started?English2·1 year agoThere is a lot of complexity and overhead involved in either system. But, the benefits of containerizing and using Kubernetes allow you to standardize a lot of other things with your applications. With Kubernetes, you can standardize your central logging, network monitoring, and much more. And from the developers perspective, they usually don’t even want to deal with VMs. You can run something Docker Desktop or Rancher Desktop on the developer system and that allows them to dev against a real, compliant k8s distro. Kubernetes is also explicitly declarative, something that OpenStack was having trouble being.
So there are two swim lanes, as I see it: places that need to use VMs because they are using commercial software, which may or may not explicitly support OpenStack, and companies trying to support developers in which case the developers probably want a system that affords a faster path to production while meeting compliance requirements. OpenStack offered a path towards that later case, but Kubernetes came in and created an even better path.
PS: I didn’t really answer your question”capable” question though. Technically, you can run a kubernetes cluster on top of OpenStack, so by definition Kubernetes offers a subset of the capabilities of OpenStack. But, it encapsulates the best subset for deploying and managing modern applications. Go look at some demos of ArgoCD, for example. Go look at Cilium and Tetragon for network and workload monitoring. Look at what Grafana and Loki are doing for logging/monitoring/instrumentation.
Because OpenStack lets you deploy nearly anything (and believe me, I was slinging OVAs for anything back in the day) you will never get to that level of standardization of workloads that allows you to do those kind of things. By limiting what the platform can do, you can build really robust tooling around the things you need to do.
Starbuck@lemmy.worldto Selfhosted@lemmy.world•ELI5: What is OpenStack? How to get started?English2·1 year agoI used to be a certified OpenStack Administrator and I’ll say that K8s has eaten its lunch in many companies and in mindshare.
But if you do it, look at triple-o instead of installing from docs.
I wish I could fully endorse Escalidraw, but it only partially works in self-hosted mode. For a single user it’s fine, but not much works beyond that.
Starbuck@lemmy.worldOPto Vinyl and LPs - Analogue Music Goodness@lemmy.world•Surface noiseEnglish2·2 years agoThat sounds pretty easy. Thanks for the tip!
Starbuck@lemmy.worldOPto Vinyl and LPs - Analogue Music Goodness@lemmy.world•Surface noiseEnglish1·2 years agoI’ve just ordered some nicer anti-static sleeves, hopefully that helps with my newer records.
What do you use to clean records? I keep seeing the spin-clean show up.
Check out https://fedoramagazine.org/using-linux-system-roles-to-implement-clevis-and-tang-for-automated-luks-volume-unlocking/
You can have a small rpi or similar on your WiFi in a hidden location on a UPS, so the main computer can’t boot without the tang server accessible.