Lodra

joined 1 year ago
MODERATOR OF
[–] Lodra 1 points 1 week ago (1 children)

I had to look up the releases for this one 😂. It must have been v1. I last used flux maybe 2+ years ago. That predates flux v2.

Have you used v2? If so, what do you think about it?

[–] Lodra 1 points 1 week ago (3 children)

Oh I could easily be wrong about forgo having integrated ci/cd already. It’s the only tool I mentioned shove that I have never used before. I’m not a good source on this one.

But I have used both flux and argo quite a lot. I’ll admit that it flux implementation was bad, but it was just a bad experience for everyone using it with me. It was a memory hog and often created. Very few people understood how to use it correctly. When there were errors with e.g. a helm template, you just had to go looking for issues and read through the log. It moved git tags around so you don’t get a history of what flux was doing. I could probably remember more issues if I tried.

But none of that was a problem with Argo. We just started using it successfully on day 1. Plus its UI is fantastic and a huge advantage. It’s easy to navigate, spot issues, troubleshoot, etc. It also exposes users to resources they unknowingly create because Argo displays owned resources. This part really helped people understand what was going on in k8s. Oh and argo is very extensible. Maybe flux is too but I haven’t tried.

[–] Lodra 2 points 1 week ago

They’re both good and quite similar on the surface. But I find that larger, more complicated uses tend to get messy with gitlab because of the heavy use of bash. However, actions are (always?) written in typescript. If your automation needs a lot of logic to handle varying uses, then it’s nice to avoid bash and code with a more language.

In other words, I’ve seen a few monstrosities that large companies build into gitlab and yikes!

[–] Lodra 2 points 1 week ago (1 children)

Nope. I’m using a mobile app (voyager). No browsing history available

[–] Lodra 2 points 1 week ago (4 children)

I would have liked to but I can’t access the deleted post now. Does Lemmy provide a means of seeing deleted posts?

 

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.

[–] Lodra 8 points 1 month ago

I recently moved away from Bitwarden to proton pass. I really only moved because I was already paying for proton unlimited for other services. That said, it’s been great. Does everything I need it to quite well on IOS and as a browser extension on Linux

[–] Lodra 2 points 1 month ago

Thanks! I didn’t see that one

 

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 [email protected]. 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 3 points 1 month ago

I use proton vpn and Firefox Focus on iOS. I’m not sure which of them is doing the heavy lifting, but I rarely see ads on my phone.

[–] Lodra 4 points 1 month ago

I was having some issues today as well. My client (Voyager) was acting like I’m subscribed to zero communities. I had to log out and back in to fix things. Given the timing, I bet it’s related.

[–] Lodra 3 points 1 month ago (1 children)

🙂 Daily Quordle 980
3️⃣6️⃣
4️⃣5️⃣
m-w.com/games/quordle/
🟨🟨⬜🟨⬜ ⬜⬜🟨🟨⬜
🟩⬜🟩⬜⬜ ⬜⬜⬜⬜🟨
🟩🟩🟩🟩🟩 ⬜🟨⬜⬜⬜
⬛⬛⬛⬛⬛ 🟩⬜🟨⬜⬜
⬛⬛⬛⬛⬛ ⬜🟨⬜⬜⬜
⬛⬛⬛⬛⬛ 🟩🟩🟩🟩🟩

⬜🟨🟩⬜🟨 🟩⬜⬜⬜⬜
🟨⬜⬜⬜🟨 ⬜⬜🟩⬜🟨
🟨⬜⬜⬜🟩 ⬜⬜🟩🟨⬜
🟩🟩🟩🟩🟩 🟨⬜⬜⬜⬜
⬛⬛⬛⬛⬛ 🟩🟩🟩🟩🟩

I normally don’t post scores because adding the spaces on every line is a pain on IOS. But I got a good score today 🤣

[–] Lodra 3 points 1 month ago (2 children)

I’ve played a few times and got big scores like that. My top was 358 or something around there. The big scores were cool but I spent waaayyy too much time chasing those big words. Maybe 2 hours spread throughout a day. I’m no longer playing this one daily because I couldn’t make it a casual effort.

If you can be happy playing the game and not worrying about beating everyone’s top scores, then I suggest simply enjoying the game

[–] Lodra 3 points 1 month ago

Daily Duotrigordle #940
Guesses: 37/37
1️⃣8️⃣ 1️⃣9️⃣ 1️⃣5️⃣ 1️⃣4️⃣
0️⃣9️⃣ 1️⃣6️⃣ 1️⃣3️⃣ 0️⃣5️⃣
2️⃣0️⃣ 2️⃣1️⃣ 1️⃣2️⃣ 2️⃣2️⃣
2️⃣3️⃣ 1️⃣0️⃣ 0️⃣4️⃣ 2️⃣4️⃣
2️⃣5️⃣ 2️⃣6️⃣ 2️⃣7️⃣ 2️⃣8️⃣
2️⃣9️⃣ 3️⃣0️⃣ 3️⃣1️⃣ 3️⃣6️⃣
3️⃣2️⃣ 3️⃣3️⃣ 3️⃣4️⃣ 3️⃣5️⃣
0️⃣6️⃣ 3️⃣7️⃣ 0️⃣7️⃣ 0️⃣8️⃣
https://duotrigordle.com/

I think this is my first win. You really have limited mistakes available!

1
ECE and the .au domain (self.earlychildhood)
submitted 8 months ago by Lodra to c/[email protected]
 

I just stumbled on this new community. Having a young child, I figured I should join and learn! I also noticed that the Lemmy instance has a .au domain. I’m sure the theories and ideas will apply globally; but what about information regarding law, school systems, etc? Is this community intended for Australian info? Or is it acceptable that I ask questions specific to the US?

 

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.

97
submitted 1 year ago* (last edited 1 year ago) by Lodra to c/[email protected]
 

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!!!

 

cross-posted from: https://programming.dev/post/1562654

FYI to all the VS Code peeps out there that malicious extensions can gain access to secrets stored by other VS Code extensions as well as the tokens used by VS Code for Microsoft/Github.

I really don’t understand how Microsoft’s official stance on this is that this is working as intended…

If you weren’t already, be very careful about which extensions you are installing.

 

Here's an upcoming feature for those wanting to use multiple profiles in VSCode but don't enjoying micro managing settings across many different profiles. And good news: This feature is currently being developed!

The feature request is Extend from the Default Profile. The idea is to allow users to organize settings into various layers. Global settings in the default profile. Maybe python specific settings in a python profile. And then golang specific settings in a golang profile. Or however else you want to organize things! This will be a huge help when working with many different workspaces and languages which all need little adjustments.

This idea actually dates back all the way to November, 2016! While it has nearly 600 votes, nobody implemented the feature. Thankfully, the new feature (again, issue 156144 was requested about a year ago and was actually a part of the Iteration Plan for June 2023. Unfortunately, it wasn't completed in time (that's ok! Thanks devs!) and was pushed to the July 2023 iteration. Hopefully, we'll have this feature released soon.

If you're as excited as I am for this one, then vote for the feature with a thumbs up.

Yes, it's already in development but votes can make this feature a priority. You can also vote for specific implementation details too!

 

I love the new feature to hide posts! But it's a bit clunky if I want to find an older post. Any chance we can get an option to not hide posts when viewing a specific community? I.e. Only hide posts when I'm scrolling through the main feeds.

 
  • Accessibility improvements - Accessible View for better screen reader support, Copilot audio cues.
  • Better editor group and tab resizing - Set min tab size, avoid unnecessary editor group resizing.
  • Skip subwords when expanding selection - Control whether to use camel case for selection.
  • Terminal image support - Display images directly in the integrated terminal.
  • Python extensions for mypy and debugpy - For Python type checking and debugging in VS Code.
  • Remote connections to WSL - Connect to WSL instances on remote machines using Tunnels.
  • Preview: GitHub Copilot create workspace/notebook - Quickly scaffold projects and notebooks.
  • New C# in VS Code documentation - Learn about C# development with the C# Dev Kit extension.
14
Hidden Gems: VSNotes by Patrick Lee (marketplace.visualstudio.com)
submitted 1 year ago by Lodra to c/vscode
 

This is the first of a (hopefully) recurring series where we showcase extensions that are likely unknown to most users. Starting with patricklee.vsnotes!

Marketplace Description

VSNotes is a simple tool that takes care of the creation and management of plain text notes and harnesses the power of VS Code via the Command Palette.

Why I like it

VSNotes seems to be built for frequent note taking. E.g. Taking daily meeting notes and keeping them organized. There are quite a few alternative extensions like dendron.dendron that do this quite well but are much more complicated. I like VSNotes for its simplicity. It's easy to use.

More importantly, I don't want to create a large number of notes. I just want to manage a few organized files and have them accessible at all times. Here's a screenshot from my work laptop.

No date stamps. No tags. No subdirectories. Nice and simple. Having these notes embedded in VS Code gives me the expected benefits like markdown syntax and preview. But my favorite part is the Activity Bar icon (far right in my screenshot). These notes aren't stored in my active workspace. They can be but I choose to store these notes in ~/notes instead. This means that the files within that directory are globally available regardless of which workspace is active. If you work with many different repositories and workspaces, this is fantastic!

A few use cases

  • Basic notes that are always open... duh. So you don't have to send yourself messages in Slack
  • Commands.md: Some bash magic. Some kubectl favorites. Some fancy git commands. All copy/paste-able into the embedded terminal
  • Diagram.d2: I manually set the file extension. Now I can preview terrastruct.d2 diagrams conveniently!

My Configuration

{
  "vsnotes.defaultNotePath": "~/notes",
  "vsnotes.defaultNoteTitle": "{title}.{ext}",
  "vsnotes.noteTitleConvertSpaces": "-",
}
6
submitted 1 year ago by Lodra to c/vscode
 

First and foremost everyone, welcome to our new little community!

I've watching the subscriber count climb slowly over the last ~36 hours from 0 to the current 64 subscribers. Exciting stuff! And impressive too, given that we don't have any content yet 🙂

So I'd like to hear from the crowd. What content do you want to see here? Maybe some periodic posts like monthly patch notes? Reply with your ideas!

18
submitted 1 year ago* (last edited 1 year ago) by Lodra to c/vscode
view more: next ›