Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)FI
Posts
3
Comments
1,022
Joined
2 yr. ago
  • I don't think it's quite a titanic enough endeavour to put slow in quotes. It's been in development for 16 years and only got a stable support for screenshots a few months ago. Does drag and drop work yet?

    IMO at this point it is reasonable to say that the idea of having a shared protocol and then making every desktop environment implement the entire display server was not a good one. The Linux community does not have enough manpower to make that work well.

  • Pretty dumb not to use a forge. Adds a huge barrier to contribution for little benefit. None of the reasons he gives make sense.

    Maybe a good option for projects that you don't want anyone else to contribute to, but then why make them open source in the first place?

    Not using GitHub because it's proprietary is an especially illogical stance. Virtually all websites are proprietary.

  • You can't use that to assert that your view about not having something is correct.

    IMO a bug tracker and PR review system are essentially and cannot be taken away. It would seem like most of the world agrees with me.

  • SiFive P670

    From what I can tell this might be almost as fast as a RPi 5 (single core). Which is almost as fast as my 12 year old i5-2500K. I guess we'll find out when it is available.

    I definitely think we'll get an M1/Zen class RISC-V CPU eventually but I doubt this is it.

  • I guess you could say "the name"!

    In fairness the first and second results on Google point to the crc32 tool...

    https://askubuntu.com/a/303666

     undefined
        
    $ sudo apt-get install libarchive-zip-perl
    $ crc32 my_file
    
      

    Again not a great package name and it does require Perl, but in Linux at least that's a less painful dependency than Python.

  • Two things:

    1. Desktop requires mature CPUs (large out-of-order designs with high IPC) and there just aren't really any of those yet. They're starting to arrive (e.g. XiangShan which is even open source!) but as far as I know there isn't a single chip available to buy that's faster than a Raspberry Pi 4.
    2. Microcontrollers can get away with only the basic instruction set (add, multiply, load, store etc.) but for high performance you need a ton of extensions that are considered standard. x86 and ARM have had decades to build them up but in RISC-V a lot of them are only recently ratified (e.g. Vector) or still in the process of being defined.

    I would say we might see cheap Android phones with RISC-V CPUs in maybe 5 years. Though there's an additional difficulty there in that you need to emulate ARM for games, and I don't think anyone is working on that.

  • It's definitely improving. I thought the same as you but I looked through my recent ChatGPT prompts and it's actually decent now, at least at simple/throwaway tasks. It doesn't stand a chance at the niche domains of my actual job.

  • Sounds dumb but maybe they are trying to say they don't like languages where everything is implicitly a references (Java, JavaScript, Python, etc.) and they prefer languages where references are explicit and objects can be easily copied (C++, Rust, Go).

    In which case I totally agree. Making everything a reference is a lazy hack to get decent performance at the cost of unintuitive semantics (pretty good interview questions!) and making actual copying unreasonably difficult.

    Until relatively recently the recommended way to deep copy an object in JavaScript was to serialise it to JSON and back.

  • I feel like the best option at the moment is egui. It's native. Works on the web too. Very easy to get up and running. The things I don't like about it:

    • I personally think the default style could do with improvement. Mainly it's way too cramped. There's a happy middle ground between no padding and bootstrap. I mean Win32/Qt/etc. got this basically right.
    • Immediate mode. Yeah it's easier, especially with Rust, but ... it's surely not how it's supposed to work.
    • The low level drawing API (like if you're making custom widgets) is surprisingly amateur. Not something I'd want to target if I'm spending a lot of time e.g. writing a custom map widget or git graph or something.

    I also tried Slint. Like the author I think the license is pretty reasonable. But it is pretty involved to set up a project and since it compiles everything from source it can take a very long time for a clean build of hello world. It's like if you were using Qt but instead of a binary package the sources are just included in your app.

    Also I have bad experiences from QML (Javascript 🤮, weird scoping rules, etc.) but hopefully they learnt from their experience.

    Looking forward to the 2030 edition anyway!

  • Yeah unfortunately I have to use Linux for work. I have considered WSL but... I dunno even with its many bugs I think WSL is probably worse. I have no idea how you get X apps working under it for example.

  • I don't see why that would cause lock ups? I'm pretty sure it's just a driver bug. Didn't used to do it but I upgraded the kernel recently and then it started.

    Interesting thread anyway - do you know if they ever fixed the defaults?

  • Linux @programming.dev
    FizzyOrange @programming.dev

    Best rootless remote X solution?

    Edit: rootless in this context means the remote windows appear like local windows; not in a big "desktop" window. It's nothing to do with the root account. Sorry, I didn't come up with that confusing term. If anyone can think of a better term let's use that!

    This should be a simple task. I ssh to a remote server. I run a GUI command. It appears on my screen (and isn't laggy as hell).

    Yet I've never found a solution that really works well in Linux. Here are some that I've tried over the years:

    • Remote X: this is just unusably slow, except maybe over a local network.
    • VNC: almost as slow as remote X and not rootless.
    • NX: IIRC this did perform well but I remember it being a pain to set up and it's proprietary.
    • Waypipe: I haven't actually tried this but based on the description it has the right UX. Unfortunately it only works with Wayland native apps and I'm not sure about the performance. Since it's just forwarding Wayland messages, similar to X forwarding, and not e.g. using a
    Programming @programming.dev
    FizzyOrange @programming.dev

    How to see a graph of open/closed issues & PRs on GitHub?

    Does anyone know of a website that will show you a graph of open/closed issues and PRs for a GitHub repo? This seems like such an obvious basic feature but GitHub only has a useless "insights" page which doesn't really show you anything.

    Rust @programming.dev
    FizzyOrange @programming.dev

    Dart Macros

    Very impressive IDE integration for Dart macros. Something to aspire to.