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

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

  • 0 Posts
  • 47 Comments
Joined 3 years ago
cake
Cake day: March 9th, 2022

help-circle




  • bruce965@lemmy.mltoLinux@lemmy.mlWhat's with the cross?
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    For reference, this is what the “Checking for Updates” page on the Pop!_OS store looks like for me. This icon feels out of place, that’s why I assumed this is a placeholder that replaced the correct icon that went missing due to some kind of minor problem with my installation.







  • I am not sure… in the case I’m referring to, they were lagging also when scrolling. But it was React, so native browser rendering. And they were actually very large tables, so we had to do some funny things like viewport culling (see react-window).

    For what it’s worth I’ve never had any similar performance issues with tables in Flutter (web with the canvas-based render engine, not Android) when applying the same culling technique, they just ran fine at any resolution. Different hardware, though, so it’s not an apple to apple comparison.

    In any case just to be safe I would personally assume less pixels = less work = less power = more battery life. My opinion is very unscientific though.




  • Good separation between business logic and UI without effort, cross-platform UI in any language, possibility to turn it into a web-accessible service in the future, great choice of UI frameworks and battle-tested components if you decide to go for a web framework and language.

    As an example of a successful software that followed this approach: Synchthing. All versions run a local web service in the background. The Desktop version just opens a browser on the index page. The Android version is a native app that calls the exposed REST API on localhost, bypassing the web UI.

    As an example of a much more complex software, albeit not FOSS: EasyEDA. It’s a web software, but it also comes as a desktop app (which I never tried) which I assume is not much more than a frame for the web view.

    My recommendation: write the UI with React on Vite in TypeScript, and write the business logic in your general purpose language of choice (mine would usually be C#).




  • Fair enough, I agree with most of the things you said. The one I got is made of aluminum and doesn’t feel cheap/thin at all, I guess they have both cheap and “professional” options. Personally I wasn’t looking for something really unique, just for something that had a decent performance for a laptop and works well with Linux. I searched around and this model ticked all my most important boxes.

    I don’t know whether Clevo engineers throught about Linux when they designed the device or not, but I can say after configuring it properly, it works without any flaws.

    As for buying straight from China, I consider the idea, but at the time I didn’t find a way to buy it for cheaper than buying from a reseller. I’m in Europe, perhaps in the US or in Asia it would be different.