bruce965

joined 2 years ago
[–] bruce965@lemmy.ml 22 points 9 months ago (2 children)

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.

[–] bruce965@lemmy.ml 5 points 10 months ago (1 children)

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).

[–] bruce965@lemmy.ml 2 points 10 months ago (5 children)

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.

[–] bruce965@lemmy.ml 1 points 11 months ago* (last edited 11 months ago)

Sorry about the delay.

  1. Install Rethink Firewall and follow instructions to configure it;
  2. In "Apps" set Gboard to "Isolate";
  3. Add two domain rules for the two Tenor domains as "Trust".

That's all.

[–] bruce965@lemmy.ml 0 points 11 months ago* (last edited 11 months ago) (2 children)

Gboard with every connection blocked through Rethink Firewall except for "media.tenor.com" and "tenor.googleapis.com" (because GIFs are cool).

I will never really know whether it really protects my privacy or if Google has other means to exfiltrate my data, but from Rethink logs it seems to be working. Unfortunately I have never found any keyboard as good as Gboard, so I would say this a risk I am personally willing to take for the convenience of a great keyboard. What would you say?

[–] bruce965@lemmy.ml 2 points 1 year ago

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

[–] bruce965@lemmy.ml 1 points 1 year ago

Well... if you want the very minimum necessary to play piano, I've written this tool to do it with just a MIDI keyboard and a modern browser.

http://tools.fabioiotti.com/midi-synth/index.html https://github.com/bruce965/midi-synth

[–] bruce965@lemmy.ml 5 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] bruce965@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] bruce965@lemmy.ml 1 points 1 year ago (3 children)

What's special about this build in particular?

[–] bruce965@lemmy.ml 1 points 1 year ago

I'm glad it's working! Yeah, right after posting that message I also noticed they forked it with a new name.

[–] bruce965@lemmy.ml 8 points 1 year ago

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.

view more: ‹ prev next ›