bruce965

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

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.

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

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

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

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.

[–] bruce965@lemmy.ml 20 points 2 years 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 2 years 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 2 years 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 2 points 2 years 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 2 years 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 18 points 2 years ago (1 children)

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

[–] bruce965@lemmy.ml 5 points 2 years ago* (last edited 2 years ago) (2 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 2 years ago

I have one. It does the bare minimum (show time, count steps, show notifications), everything else doesn't work very well, including the heart monitor. But the battery lasts for almost a month. And it's completely offline, no cloud services. I would still recommend it.

[–] bruce965@lemmy.ml 5 points 2 years ago

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

view more: ‹ prev next ›