15

Someone posted a blog here a little while ago. I wrote up a big response only to find that OP deleted the post. I figured I might as well post my response here since it took me 45m to type out of my phone đź« 


What an interesting list. Some of these suggestions are good with others are not. I think we can reorder things a bit and make this more reasonable.

~~Jenkins~~

Jenkins is terrible! It should have been killed off a decade ago. Seriously, just don’t use Jenkins. There are much better offerings now.

Source control and CI/CD

The current trend is to rely on your source control provider for ci/cd. You may or may not have a choice in this space so let’s name some big ones. GitHub, Gitlab, Azure DevOps, Bitbucket, Gitea/Forgejo. They all act as a git server and all offer automation. Learn whichever your company uses. If you get to choose… GitHub is great! Gitlab is also good but the automations will be focused on bash and tend to get messy IMO. ADO is truly a Microsoft product with many nonsensical choices. I find it frustrating to use. I haven’t done ci/cd with bitbucket. If you want a foss option, check out forgejo (a fork of gitea). I have not used either yet though it looks nice and I really want to.

Containers

Docker is a fine choice. I really like some alternatives tools like buildah, podman, etc. but nearly every piece of documentation out there is based on docker. The choice is yours here but docker will probably give you the simplest experience.

Kubernetes is an amazing runtime environment! IMO should be used as a standard interface for running resources in a public cloud. However, this is a huge jump and you’ll want to learn at least a dozen good tools here. This one is a many years long practice but absolutely worthwhile. A quick and very incomplete list of tools: k9s, k3d, helm, kustomize (better than helm in most cases), flux, Argo (better than flux), istio. Seriously these are just the basics.

Infrastructure Management

While ansible is good, I would be looking to retire it at this point. A big possible exception is if you are running your own hardware and don’t have a great interface for alternative tools. If somebody just gives you a VM to use, then ya use ansible.

Terraform is great but don’t use it. OpenTofu is a foss fork and people should honestly just use this instead. But both tools have some limitations and oddities. People seem to love using terragrunt as well to make this easier to use.

If you’re using k8s, there’s also the open tofu controller. I’ve haven’t personally used it, but people I 100% trust in this space absolutely love it.

Observability

Firstly I like the numeronym instead: o11y.

Don’t use nagios. It’s old and there are better alternatives.

Elasticsearch is ok but I don’t really like it. Everything is stored as a document and just… eh, there are better options.

Prometheus is quite good.

Here’s the biggest mistake that people make today. Use OpenTelemetry as the core of your o11y solution. It’s the 2nd biggest CNCF project (right behind k8s) and it’s a fantastic tool. It lets you collect telemetry data and build data pipelines to whatever storage devices you want. That includes Prometheus and elasticsearch but you also can choose many more options as well with only tiny configuration changes.

ChatGPT

This entire post looks 100% like a copy/paste from ChatGPT. AI is a cool tool but OP, you should learn to use it a little better. Tell it to not use so much fluff text or such a rigid structure. Make edits afterwards. And most important of all, make sure it’s actually providing good info.

12
submitted 2 months ago by Lodra@programming.dev to c/meta@programming.dev

Ever since the database maintenance two Weiss so, I’ve seen far less content in my home feed. I decided to dig a bit today and found that I’m just not seeing content from certain subscribed communities such as !dailygames@lemmy.zip. Turns out the most recent content from there is 15 days old. That lines up perfectly with the db maintenance.

Sooo. Are there any known issues since then? Maybe something with federation?

[-] Lodra@programming.dev 73 points 5 months ago

I like that Meta is fined for this bad practice. But why are they paying the state? How does this help anyone that was actually victim of the facial recognition?

I can see an argument based on how state funds help state residents. But it still doesn’t really feel right to me.

A real tangential thought: What if fines claimed by the state didn’t increase the states fund? What if those funds reduced the tax burden of residents from the bottom up?

[-] Lodra@programming.dev 26 points 5 months ago

Well that’s foreboding to say the least.

I listened to a bit of the speech to see if the context helps at all. It doesn’t. He was just asking people to go vote, which is totally fine. But that’s it. Nothing else to warrant a comment like this one. And it sure sounds like no more voting is the plan. Literally. Maybe it’s a thoughtless comment? Yikes

[-] Lodra@programming.dev 141 points 5 months ago* (last edited 5 months ago)

So I read a bit of Mozilla’s documentation about this feature. It sounds like they’re trying to replace the current practices with something safer. Honestly, my first thought is that this is a good thing for two reasons.

  • It’s an attempt to replace cross site tracking methods, which are terrible
  • Those of us that fight against ads, tracking, etc. can simple use typical methods to block the api. Methods that were already using (I think)

If both of these are true, then it could be a net positive for the world. Please tell me if I’m wrong!

[-] Lodra@programming.dev 74 points 6 months ago

Etsy hasn’t been good for years. But I haven’t found an alternative yet. Anybody know what we should use instead?

[-] Lodra@programming.dev 34 points 8 months ago

I spent several weeks thinking about this exact idea.

Federation is cool. You could set up each instance to only federate with instances for nearby towns and cities. Maybe a “2 district” radius. Users would only see content for their local communities. Local news stays local. Local government could officially participate if they wish. People you talk to are actually neighbors you might see in person. Larger regions like counties, states, provinces, or even countries, could also have dedicated instances and federate similarly. I think this is the big appeal and it sounds awesome!

There are a few problems 🙂

First is a little bit of confusion with posting. Let’s say that I see a post about a cool new restaurant in my town. I share it with a friend who lives a few towns away and that’s outside the “federation radius”. I can’t share the post with that friend very easily. Maybe the tools could be enhanced to make this viable?

Second is a matter of privacy. How do you know that new accounts belong to people associated with the geographic location of each instance? If you don’t validate, the system will certainly be abused. If you do validate, then users need to supply some real info! Home address, ID, etc. that’s a big deal for users and instance admins.

Third. What happens if you move? Do you have to abandon your old account and start over? Again, the system itself can be developed further to solve this. But that’ll take time and money.

Next is the operating costs. You would need to build thousands of instances to build this system up. And each one would have to be tied to a geographic region. You need new features to handle signups this way. You have the simple cost of running these servers. You probably need a lot of staff to manage it all. This is an expensive platform for one party to run. Alternatively…

It doesn’t have to be one party running this entire system. That’s the point of the Fediverse, right? The operational costs go way down if anyone can run their own instance. But how do you enforce the rules of federating with instances for geographically nearby locations? I don’t see a reasonable way to solve this one.

I could probably keep listing issues. But these are the big ones IMO. If you solve these, the system is viable and could be amazing.

[-] Lodra@programming.dev 37 points 9 months ago

This is regulated. And there are penalties for violating those regulations. But it’s just not enough. Even a class action lawsuit won’t help the victims. Most of that money goes to lawyers.

Honestly, I don’t expect any of it to change until the penalties are so severe that major companies go under. Aka a corporate death penalty (which the US used to have). But even then, good software security is extremely hard. Almost everyone screws up something.

[-] Lodra@programming.dev 113 points 10 months ago

The CEO now seeks help from Phutar Afrayughum, a psychic and extrasensory perception specialist who allegedly helped Google increase their marketshare in the messaging app market, and was also involved in developing the Material Design framework.

Seems like a legit article :shrug:

[-] Lodra@programming.dev 50 points 11 months ago* (last edited 11 months ago)

With chromium being poisoned last year and Mozilla trying to diversify away from Firefox, I’m starting to wonder what browser I should be using in the near future. So I’d really like to hear some opinions on arc browser!

EDIT: Aaand it’s chromium

[-] Lodra@programming.dev 45 points 11 months ago

While I love the spirit of this idea, it gets complicated fast. Worlds adrift is a great example. The game’s server was created using some closed source libraries with a paid license. So when the owning company (Bossa Studios?) went under, they were unable to open source it.

A law like this would effectively kill all licensed software that isn’t a full product. I do agree though; we need a solution

9

I made some changes to disk partitions. Now I'm seeing an issue with mounts. It's not a big problem but it's definitely confusing me.

[alex@rog-g15dk dev]$ sudo mount /home-temp
mount: /home-temp: can't find in /etc/fstab.
[alex@rog-g15dk dev]$ cat /etc/fstab
New                                         Partition    /home-temp   defaults            0 0 # /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
#                      
UUID=5E74-A00E                              /efi         vfat         noatime             0 2 
UUID=53a2c9bc-31dd-4e52-902f-633867253481   /            ext4         noatime             0 1 
tmpfs                                       /tmp         tmpfs        noatime,mode=1777   0 0 
/dev/nvme0n1p2                              /home        ext4         noatime             0 2 
/dev/nvme0n1p3                              /steam       ext4         noatime             0 2

Can anyone explain what 'mount -a' is trying to mount?

Here's the context on the changes I made. My desktop used to run windows. I recently installed linux as well (dual boot). A bit later I destroyed the windows partitions. This left the beginning 2/3 of the disk unused.

Today I decided to reclaim that disk space. I created 2 new partitions, copied some data to them, updated fstab accordingly, rebooted, and grew the steam partition to 700GiB. That process had a couple of small bumps, including a partition that was mounted to '/home-temp'. I destroyed that partition before using it all.

So this error is definitely caused by me. That's fine. I'm just trying to understand what's going on and how to clean up the little mess.

94
submitted 1 year ago* (last edited 1 year ago) by Lodra@programming.dev to c/linux@lemmy.ml

I'm ditching Windows in favor of Linux on my personal desktop. And so I'm looking for advice on which distro I should start with.

About Me

I use Linux professionally all the time but mostly to build ci/cd pipelines and for software development/operations. I've never been a Linux admin nor have I ever chosen the distro I use. I'm generally comfortable using Linux and digging into configs/issues as needed.

Planned Usage

I use this machine for typical home usage: Firefox, a notes app (currently Notesnook), maybe office style tools like word and excel. I also use this for gaming: Steam, Discord, etc. Lastly and least important, I use this for a small amount of dev work: VSCode, various languages, possibly running containers.

What I'm Looking For

I'd like an OS that's highly configurable but ships with good default settings and requires very little effort to start using. I don't want it to ship with loads of applications; I want to choose and install all of the higher level tools. Shipping with a configured desktop is perfectly fine but not required. Ideally, I can have all of this while still keeping the maintenance low. I think that means a stable OS, a good package manager, stable/automatic updates, etc.

Last bit. Open source is rather important to me. I prefer free and free.

Anyone have good suggestions??

Edit

I'm aware of tools like Distro Chooser. They've recommended Arch Linux and Endeavor OS to me so far. But I'm not ready to trust them yet. I'm looking for human input.

Edit 2: Hardware Info

I'm running on an ASUS ROG Strix GA15DK. It's just over 2 years old. The hardware was shiny but not top-tier at the time. It’s not new at this point but also not old by Linux standards.

  • AMD Ryzen 7 5800X Processor
  • NVIDIA GeForce RTX 3070
  • 16GB DDR4 3200 MHz RAM

Edit 3

It's official. I installed EndeavourOS! I got it to work without any issues. Yup, first try. It definitely didn't take me ~10 tries :D

Thanks for all the input all! Wonderful crowd here!!!

[-] Lodra@programming.dev 25 points 1 year ago* (last edited 1 year ago)

Yes, unity costs money to develop and a fee is reasonable. But I think the are a few risks with this model.

How do they track installations? Metrics from steam and other platforms? Connecting to a license server at install time? Or maybe at runtime? I don't know the answers but they all seem to have implications for users regarding privacy and/or offline gaming.

It's also a variable fee to game developers. A single user can install a game on multiple devices despite buying the game once. Similarly, a game can be installed repeatedly over time. This is a financial risk to game development companies. I could see them mitigating this risk in several ways. First, they can pass the fee to the end user. So every install costs the user $0.20. Secondly, they can limit the number of installs per user. You want to install more than 5 times ever? Buy the game again! Thirdly, they could simply shut down the download service after a certain amount of time, making new installations impossible. None of this is good for a gamers.

And what happens to games made by companies that shut down entirely? Today, games remain available through steam, etc. But with this new pricing model, Unity based games will continue to cost money over time. Who pays the bill after the company is gone? This reminds me of Worlds Adrift, a game that used a licensed library. When the developer company shutdown, they were unable to release their server source code because the third party couldn't can't send bills to the open source community. Thus, the servers were destroyed and running the client today (still vailable via steam!) just gives the user an error message about license issues or something. Users paid for a game that they are now unable to use.

[-] Lodra@programming.dev 38 points 1 year ago

Pineapple + bacon pizza is delicious. My favorite actually. If you like spicy, add some jalapeño or similar peppers.

[-] Lodra@programming.dev 41 points 1 year ago

Precedented

view more: next ›

Lodra

joined 2 years ago