• 0 Posts
  • 19 Comments
Joined 2 years ago
cake
Cake day: August 22nd, 2023

help-circle



  • I’m not 100% confident I’ve understood the assignment, but I’ve been playing with a couple of app frameworks in rust that target the Web that might be of interest to you.

    Dioxus - Reactive framework. Document markup is html with its own syntax, styling is CSS but all scripting is rust. Cross platform (web, android, ios [xcode required], linux, mac, windows) but using webviews for all of those, definitely Web first.

    slint - Reactive framework again, has its own Domain Specific Language (DSL) for markup that’s not too distant from an html/css hybrid. Simple scripting can be done in the DSL but it also ties trivially into the rust side. This does its own rendering rather than generating html documents or using a webview, I believe even when targeting the web (via wasm).

    Tauri - Gets brought up a lot when talking about web apps in rust, but I haven’t dug into it.

    If looking into any of these sounds like the sort of thing you might be after, then I suggest having a scroll through AreWeGuiYet for other rust GUI frameworks. If I remember correctly, a significant fraction of those target web technologies, althought the filters on that website have never been all that useful.


  • I think you’re missing some key parts of the Star Trek lore. America didn’t peacefully evolve into the Federation. Earth wasn’t able to get past it’s self destructive tendencies until after World War III, a conflict so devastating that 30% of the Earth’s population was killed. My knowledge is more fuzzy on this, but I don’t think the American empire survived WWIII as an entity.

    Also we have images of black holes.







  • People bought excess of lots of things, toilet paper just was more noticeable more quickly because of it’s huge volume to value ratio, and slow restocking (in part because of that ratio, it’s not worth warehousing so there was little flexibility in the supply chain).

    Once the shortage started becoming obvious it was self-perpetuating, you needed to buy what toilet paper you could when you could because you didn’t know when you would be able to buy again. The supermarkets near me at the time had no toilet paper restocked for more than three months as supplies got redirected to “higher priority” stores.







  • brisk@aussie.zonetolinuxmemes@lemmy.world*gasp*
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 month ago

    If you’re fine with Wayland, go with Wayland. There are lots of reasons still that people might prefer X11 but the list has been getting shorter.

    • The security model of Wayland is more restrictive than necessary for many users and means things like screen sharing and desktop toys are harder and not universally implemented or doable.
    • Wayland effectively requires many things to be handled by the same process, preventing traditional modular environments (e.g. separating window manager from compositor no longer possible)
    • Explicit compositor support required for more features, meaning having a feature complete environment in small projects is much harder, and the design of Wayland tends to promote a few large desktop environments rather than many small window managers.
    • NVidia’s support for Wayland is still improving
    • Wayland can’t rotate your screen to be on an angle to maximise the length of a line
    • Several programs I rely on don’t support Wayland well yet
      • Steam doesn’t stream from Wayland
      • Transparent bits of FreeCAD show the background instead of what’s behind them
      • Code-OSS required a very silly workaround for decent font rendering, although I think this might have been fixed in electron