bruce965

@bruce965@lemmy.ml
0 Post – 53 Comments
Joined 2 years ago

Professional C# .NET developer, React and TypeScript hobbyist, proud Linux user, Godot enthusiast!

https://blog.fabioiotti.com\ https://github.com/bruce965

If you are not talking about Steam, which comes with Proton out of the box, I'd recommend to give Legendary a try. It's basically the same thing, but with non-Steam games. And it's very user-friendly, like Steam.

1 more...

In my experience, a great portion of competitive multiplayer games work. Although I have to admit that I mostly play games meant to be played among friends rather than against strangers.

None, I use Docker for Linux, and Proton (Heroic) for Windows.

But if I had to pick a virtual machine: libvirt with virt-manager as a frontend, which uses KVM for virtualization.

19 more...

I use DDG for the privacy as well, but personally I think it works better than Google in my field (software development). The only issue I personally have with DDG is that it lags behind Google in terms of updates, I notice when searching for something that came out or happened only recently.

I work professionally from Windows, and as a hobby from Linux. My tool of choice for coding in .NET is Visual Studio Code (not FOSS, but there is a FOSS version which is just a bit more limited). It's not as complete as Visual Studio, but it's much faster, it has all the basic tools including a debugger, and it's much more customizable.

Also if you have never done it before, you might love dotnet watch which works with any IDE and lets you make realtime changes to your code while the application is already running.

As for UI, my personal choice is deploying a static website on localhost through Kestrel (it's less than 100 lines of code for a fully configured one), and then let the user's browser take care of showing the UI. You could use Blazor if you really want to use C# all the way, but my personal recommendation is to stick to web technologies such as TypeScript and React (using either Parcel or Vite to build your project). Making your UI web-friendly also makes your app cloud-ready, in case tomorrow you will decide that's something you need.

Finally, you can now deploy .NET apps as a single self-contained executable on all major platforms. But as already recommended by other users, I would keep adopting a web-first approach and go for Docker, and eventually Kubernetes. It's a lot of work to understand it properly though, so perhaps you can start studying this topic another day in the future.

Feel free to ask me anything if you have questions.

1 more...

Yes, you can develop in .NET on VSCode and the debugger works on Linux too.

There is a Docker version of SQL Server which funnily enough is equivalent to the enterprise version (rather than limited like SQL Express). You can use it for free as long as it's for development purposes only.

There is no SQL Management Studio though.

One option would be to use PostgreSQL instead. Entity Framework makes it almost free to replace the database anyways (unless you are doing some db-specific things).

There are some other minor annoyances or missing features, it might bother you; but depending on how you are used to work, you might not even notice. But, hey! you are on Linux now, you get all the benefits of a UNIX operating system, it will be worth it for sure, right? (Yes, imho)


As for gaming, I only do light gaming so I probably don't count. I use Heroic Launcher and it works wonderfully out of the box 50% of the time, the remaining 50% you can probably make it work as good as on Windows if you are persistent enough.

Oh, and sometimes some games run better on Linux than on Windows, but I would say most of the time they run a bit worse.

A less salty way to put it would be that the chart is missing two labels: "Original prompt" and "Poisoned prompt".

Signal desktop client is actually Electron based. And AFAIK, Electron doesn't run on Android, only on the desktop.

1 more...

VM startup time can be skipped by saving state instead of shutting it down every time.

I would say the worst issue using a VM is with programs that need the GPU (e.g. CAD softwares or games), and software with aggressive DRM.

3 more...

Apologies, but why would one prefer the fork over the original? Aren't they both FOSS anyways?

3 more...

I suppose in a well configured Docker or Kubernetes environment this doesn't matter that much. Also, in Kubernetes, "secrets" can be passed as read-only files.

For what it's worth, I always prefer being redundant if it makes the meaning clearer to a non-native speaker audience.

For instance I didn't know "pandemic" implicitly meant "global". In my ignorance I thought you could have a localized pandemic. But by saying "global pandemic" it makes it more obvious to everyone, including those who, like me, didn't know.

Also I'll personally keep saying "my phone had an LCD display" because it feels smoother than "my phone has a LCD".

4 more...

As an Italian, I would say that's not the case, not "a lot of Italians are racist". I've had interactions with a few racist people of older generations, but I would say that they are the exception, thankfully.

9 more...

This is a screenshot from uBlock Origin, an ad-blocker for browsers. Red means that something is in a block list. There is a lot of red, which means this website uses a lot of stuff that tracks the user or serves ads.

That being said, I've seen much worse.

What is it that you don't like about Clevo chassis? I bought one a few years ago and I love it. It's elegant and sturdy in my opinion. It's also easily serviceable, so what's to complain about it?

2 more...

I might be mistaken, but I think Codeberg is the official public Forgejo instance.

1 more...

I haven't checked, but I assume PulseEffects must have a module to convert stereo to mono.

5 more...

Yeah, you are correct. Docker shares the kernel with the host operating system, it doesn't use hardware virtualization. That's why it's so fast and simple, but it also means it's not a traditional VM and thus comes with some limitations.

On AWS they have something called "bursting". Basically they will let you use 100% of your vCPU, but not all the time. If you use it constantly they start to throttle you. That's explicitly stated when you rent an EC2 instance (which is their VPS). Perhaps your provider is doing something similar.

1 more...

I had the same issue (on Pop!_OS), and I fixed it by tweaking the boot options to change IOMMU settings for my GPU.

I would try testing without the splash option, as that will change when/how GPU drivers are loaded and it might fix the glitches issue (but might still cause other issues).

JavaScript through Node.js, or TypeScript through Deno if you like typed languages. They both check all your boxes (just check the size of the executables to make sure that it's what you would consider "small footprint").

Both languages and runtimes are quite popular, so you will find any answers on StackOverflow.

They are both single-executable with little dependencies, and Deno can also compile your scripts to self-contained executables.

As a bonus, both support the vast and extensive NPM package repository where you can find all sort of libraries for even the most complex tasks.

And they work with your favourite IDE or editor, not just syntax highlighting, but also contextual suggestions.

2 more...

I synchronized with my laptop to save a copy of all my messages. Would this be a viable solution for you?

So... this is going to be a debloated lightweight distro (or just a DE?) with official support for not-so-fresh hardware? I don't fully understand.

7 more...

Ah, that makes sense. Thanks!

What's special about this build in particular?

2 more...

I might actually be interested. It's like a lightweight alternative to Proxmox?

1 more...

I'm still a bit confused by the use of this "Driver Store". Since when does Wine support device drivers? Or are we talking about something else?

Phoronix seems to explain a bit more, but I still did not understand: https://www.phoronix.com/news/Wine-9.16-Released

Could anyone share their insights?

3 more...

Can you see at least GRUB, or nothing at all?

If you can see GRUB I would try booting with the "nosplash" kernel option, which causes video drivers to be loaded later.

This is a temporary fix, as it might cause other issues, but if it makes the screen work it will be a step in the right direction.

1 more...

As far as I understand, you only have to make your changes to the code available to users of your software. You are free to make any modifications as long as you keep them to yourself and don't share the binaries (or access the service, in case of AGPL) with anyone. I might be mistaken, though.

1 more...

I've never had the chance to work with the RAW format, but I think Photoprism should handle it transparently. Depending on your area of knowledge, the setup might feel a bit convoluted though.

2 more...

That's interesting. I wanted to try it not long ago, and downloaded a random build which didn't complete installation unfortunately. I'm not a good at searching I guess 😅 How did you distinguish it from the others?

EDIT: found it here.

Could you describe the kind of glitches you are getting?

As a first test (and only as a test) I would try holding space bar during boot, then pressing E while focusing the Pop!_OS option, and removing quiet and splash from the line on the bottom, then pressing enter to boot.

4 more...

Are you sure about that? That would be surprising for me, as I had never before heard about Electron running on mobile.

A quick dive in Element Android's dependencies didn't reveal any mentions of Electron, but perhaps it's referenced in some other way.

It's an application that runs in the background and applies all sorts of filters and effects to your sound before it goes to the speakers. It's actually quite cool, it can upgrade a crappy set of speakers/headphones to a mediocre one by applying the right adjustments.

https://github.com/wwmm/easyeffects

3 more...

I didn't understand that you ran it without hardware virtualization. This is really convenient, thanks a lot for making it!

In my very limited experience, when this happens the filesystem can (and will) still be mounted as read-only.

I might be very mistaken, but I don't think QEMU can link mixed-architecture dependencies. Box86 can run an x86 game on ARM and link ARM-native shared objects for OpenGL, thus skipping emulation of some hotpath code.

As a web developer, I noticed that some elements such as very big tables struggle to render on 4K but are absolutely fine at 1080p. I would assume that means the CPU and/or GPU are more taxed to draw at higher resolution, and therefore I assume they would draw more power. I might be mistaken. Do you speak by experience?

1 more...

I work as a professional developer in .NET on Windows, and in my free time I develop in .NET on Linux as a hobby.

Unfortunately I would say the .NET development experience on Linux (with VSCode) is slightly inferior compared to on Windows (with Visual Studio).

For instance there is no support for SourceLink during development, only during debug. And on VSCode the "go to definition" to third party assemblies works only for one level deep, whilst on Visual Studio it works for any depth level.

It is certainly still a great experience on Linux, but not «better than Windows» in my opinion. If you have any recommendations to improve it please share, I would be very grateful.

Ah I get what you mean, I used to share your same view. I used to think that the MIT license was more free than GPL for the reasons you mentioned.

When Google started working on Fuchsia OS and they said it will be MIT license, I started to get worried that smart products producers would start using it instead of Linux. Then they wouldn't need to release the source code to customers as the software would no longer be GPL.

The difference is that MIT gives more freedom to the producers, while GPL gives more freedom to the consumers.

Personally, my sympathy goes to consumers, not producers, thus I understood why people say GPL is more free than say Apache or MIT.

Licenses such as MIT, Apache, MPL, etc... are a double-edged sword. 😬