FizzyOrange

joined 2 years ago
[–] FizzyOrange@programming.dev 0 points 23 hours ago (1 children)

Proper reasoning is always needed if you want a guarantee.

You formally verify your regexes? Doubtful.

[–] FizzyOrange@programming.dev 2 points 23 hours ago

Does that imply anything at all in LLMs’ favour?

Yes it suggest lower cognitive load.

Great, but I wouldn't be shouting from the rooftops how Wayland has created a better experience for users just yet.

[–] FizzyOrange@programming.dev 1 points 1 day ago (1 children)

Ok I can see you haven't actually come across any complex regexes yet...

(Which is probably a good thing tbh - if you're writing complex regexes you're doing it wrong.)

I work in RISC-V CPU development and I'd say 5-10 years is about right for when we'll see usable RISC-V desktop class machines.

There isn't really any RVA22 hardware you'd really want to run a desktop on anyway, so it's a very logical decision. RVA23 is a much more sensible base - it requires Vector and Hypervisor.

[–] FizzyOrange@programming.dev 0 points 1 day ago (3 children)

This is stupid pedantry. By that logic literally nothing is complex because everything is made up of simple parts.

You don't have to. You can read it.

[–] FizzyOrange@programming.dev 0 points 1 day ago (5 children)

Regexes aren’t hard to write, their logic is quite simple.

He did say complex regex. A complex regex is not simple.

[–] FizzyOrange@programming.dev 0 points 1 day ago (5 children)

Why? That is a great use for AI. I'm guessing you are imagining that people are just blindly asking for unit tests and not even reading the results? Obviously don't do that.

[–] FizzyOrange@programming.dev -1 points 1 day ago (1 children)

i just said it’s supposed to be used as a high-level glue to hold low-level things together.

Exactly. You essentially said it's ok for Python to be slow because it's supposed to only be used to tie together things written in fast languages. That's utter bullshit. It was never designed with that intent, it's just that it turns out people do use it like that because it's so slow.

0
submitted 3 months ago* (last edited 3 months ago) by FizzyOrange@programming.dev to c/linux@programming.dev
 

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 video codec I assume it will have similar performance issues (though maybe not as bad?).

I recently discovered wprs which sounds interesting but I haven't tried it.

Does anyone know if there is a good solution to this decades-old apparently unsolved problem?

I literally just want to ssh <server> xeyes and have xeyes (or whatever) appear on my screen, rootless, without lag, without complicated setup. Is that too much to ask?

view more: next ›