• 0 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle







    1. Sorry if it was an assumption, I was speaking to the context you posted.
    2. I’m not discriminating between the specific abstraction layer. Anything that provides an HTML canvas, CSS, and JS is fine. But, at least with Electron, you can fine-tune things down really well with the use of native code and an API less constrained than the web standards. This is why VS Code is quite the snappy fella.
    3. Cross-platform is Electron’s second selling point, really. The first is the ability to create desktop apps using the fun JS web frameworks rather than learning Java, C#, or C++ and having to use the unpleasant UI frameworks they have - like QT. Clearly that’s the case for all the folk who only support one platform, at least.
    4. WebAssembly doesn’t seem weird to me at all? The web is a great way of distributing end-user software but can suffer from performance and control issues in the case of heavier applications. Web assembly is the logical conclusion that allows us to leverage the browser’s crazy powerful and optimized DOM, JS runtime, and layout engines, while having a super fast layer with a low interop cost to do that heavy work. Especially as they move towards gaming support via WebGL. Furthermore, it provides a sandboxed runtime with privilege control that downloading binaries from Itch simply can’t. It has a real purpose. Albeit, I again agree it’s execution has some issues.

    All this just to say: I think the common denigration of this tech (not specifically your comment, since you clarified) is a cynical take that ignores important economic factors. Modern web development is flawed, but the direction it has moved is still forward.

    Anyway, hope you have a good day!



  • I’m not a big subscriber to this notion. After working in both of the technologies (and more), and React/Vue is a significant boost in developer productivity compared to jQuery and AJAX. More features, less bugs, a more app-like web experience. Not to mention things like Native or Electron potentially saving on the cost of entirely separate apps.

    Further, the resulting assets can be even smaller after minification and bundling as long as you aren’t creating one giant blob that gets shipped on every minor, unrelated change and includes all the dependencies and source maps and assets – it’s important to remember many bundlers include media files – on production.

    I think there’s numerous opportunities for improvement to be had (diff-based updates, semver-aware CDN, smarter defaults, more leveraging of things like WebASM and improvement on the standards), for sure, but talk of “the good ole day” of jQuery certainly seems rose-tinted given how much of a mess it was in practice (for me, of course).


  • The other fella covered the more general user-generated approach, but the WefWef app has a way to migrate from Apollo using the JSON export tool they (Apollo) provide. Looks like the grab the JSON dump, parse out the subs, then generate a big list of community search links in-app.

    Expanding on that, a potentially good idea to make this as easy as possible is to find a way of having the user export a list of subs from their Reddit account (either by biting the bullet and using the API or developing a user script or browser extension). Allow clients to register an anonymous user ID (to avoid tying identities together too hard) with such a list. Then the clients can update this user with what communities they join via what instances, along with what instances they joined at all.

    Then your service would feed them recommendations.“Users from /r/programming[,…] tend to join programming@programming.dev” and/or “Reddit users like you usually join the fediverse through programming.dev”.

    It may be worth DMing some of the Lemmy client developers to see if they’d be interested in such a service or if they have any better ideas. Smart people, them.

    If you do end up doing work on this, please do post any cool ideas you have! It’s a neat domain space.

    Hope you have a great day, good luck!