[-] Lodra@programming.dev 1 points 16 minutes ago

A complicated plugin ecosystem (e.g. Jenkins) makes for a terrible use experience. It’s annoying to configure a bunch of config files. Managing dependencies can be a complete nightmare. these problems also complicate your ci/cd.

So I’ll offer a slightly different answer. I prefer a single file instead of splitting up the config. And I’ll use OpenTelemetry as an excellent example of why. the plugins are compiled right into the app binary. This offers a ton of advantages, including a great reason to merge all of your app configs in a single file.

This really only works well if you have a good app though.

[-] Lodra@programming.dev 4 points 10 hours ago

Ya this is definitely one to maintain some skepticism about. People are criticizing the API’s security in other posts.

[-] Lodra@programming.dev 4 points 10 hours ago

The EU is a large enough governing body to have a significant global impact. And I truly appreciate the progress it makes on important subjects.

However, it’s still not effective enough. Apple doesn’t allow third party app stores in countries outside the EU.

[-] Lodra@programming.dev 0 points 10 hours ago

Exactly. There is a general need to destroy and rebuild a system but it is often dangerous and costly. Especially with regard to a system of laws and government. Improving the system more naturally is far more safe and more achievable at smaller scales.

[-] Lodra@programming.dev 4 points 11 hours ago

Wow. I 100% agree with you here.

There’s an element of trust when you buy a product. You trust that the product itself isn’t malicious and is intended to help you in some way. E.g. “This food is safely prepared and won’t poison me.” Harvesting user data and advertising really violate that trust.

Though it is worth noting that we don’t buy web browsers. We simply use them for “free“.

[-] Lodra@programming.dev 4 points 11 hours ago

Exactly. It sounds like Mozilla is trying to protect those that aren’t willing or able to protect themselves. It’s a noble reason to do just a little bit of evil. This is roughly the source of my mixed feelings on the subject.

[-] Lodra@programming.dev 9 points 11 hours ago

While I appreciate your sentiment, this just isn’t realistic in the current state of the world. First, you need to make these kind of tactics illegal enough to incarcerate a person. Second, you need to expand and enforce this law globally. We definitely need this level of global cooperation, but are also soooo far away from achieving it

[-] Lodra@programming.dev 110 points 22 hours ago* (last edited 21 hours 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 2 points 2 days ago

Word Grid #43
🟨🟪🟦
🟦🟪🟦
🟪🟪🟦
Rarity: 7.7
wordgrid.clevergoat.com 🐐

My first time playing this one. It’s a nice one!

[-] Lodra@programming.dev 5 points 3 days ago

I had the same experience. Though I strongly suspect this is an IOS limitation rather than an issue with the proton app. Just an fyi for optics

[-] Lodra@programming.dev 2 points 3 days ago

I had roughly the same experience!

Wordle 1,119 6/6

⬛⬛⬛🟨⬛
⬛⬛🟨⬛⬛
⬛🟩⬛⬛🟩
⬛🟩⬛⬛🟩
⬛🟩⬛⬛🟩
🟩🟩🟩🟩🟩

[-] Lodra@programming.dev 2 points 3 days ago

I finally got one!

Connections
Puzzle #396
🟨🟩🟨🟨
🟨🟨🟨🟨
🟦🟦🟦🟪
🟦🟦🟦🟦
🟩🟩🟩🟩
🟪🟪🟪🟪

10
ECE and the .au domain (programming.dev)

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?

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 8 months ago* (last edited 8 months 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!!!

1

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.

1

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!

1
  • 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.
1
Hidden Gems: VSNotes by Patrick Lee (marketplace.visualstudio.com)

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": "-",
}
1

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!

2
submitted 1 year ago* (last edited 1 year ago) by Lodra@programming.dev to c/vscode@programming.dev
view more: next ›

Lodra

joined 1 year ago
MODERATOR OF