FizzyOrange

joined 2 years ago
[–] FizzyOrange@programming.dev -5 points 2 days ago (3 children)

they mostly build OSes that are bloated, clunky garbage

Windows 11 IoT LTSC is anything but bloated and clunky. Best OS I've used.

[–] FizzyOrange@programming.dev 1 points 3 days ago (2 children)

That is a very optimistic view! I decided to make a presentation in OpenOffice recently instead of Google Slides. It actually couldn't even show my bullet points in the right order. It revealed them like 1, 3, 2.

I guess you can make it work and the sovereignty & financial savings for a large number of users is maybe worth the pain, but let's not pretend the Linux desktop is really close to Windows/Office in terms of quality and reliability.

[–] FizzyOrange@programming.dev 12 points 3 days ago

Gotta agree on the name. Please choose meaningful names especially for low level components like drivers, libraries and CLI tools. It's fine for end-user facing applications to have unique names like Blender, Krita, Inkscape, Chrome, etc. But nobody wants to have to look up what the name of random system packages is.

[–] FizzyOrange@programming.dev 4 points 3 days ago

Corecursive easily. It's actually properly produced and very well presented. Not one of those rambling unscripted chats.

[–] FizzyOrange@programming.dev 9 points 5 days ago

This is deliberately not allowed in order to ensure that Linux remains exclusive for nerds.

[–] FizzyOrange@programming.dev 2 points 5 days ago

Ah yeah I agree. Misread your comment.

[–] FizzyOrange@programming.dev 1 points 5 days ago (3 children)

I disagree. You can write a lot of high quality Python code (yeah it exists) before you need to use inheritance. If you're reaching for inheritance as the solution to all complexity, GoF-style, then you're doing it wrong.

It's an occasionally useful tool that has its place, not something you should instinctively reach for.

[–] FizzyOrange@programming.dev 23 points 6 days ago

WebP was the first widely supported format to support lossy transparency. It's worth it for that alone.

[–] FizzyOrange@programming.dev 2 points 1 week ago

They mean measure first, then optimize.

This is also bad advice. In fact I would bet money that nobody who says that actually always follows it.

Really there are two things that can happen:

  1. You are trying to optimise performance. In this case you obviously measure using a profiler because that's by far the easiest way to find places that are slow in a program. It's not the only way though! This only really works for micro optimisations - you can't profile your way to architectural improvements. Nicholas Nethercote's posts about speeding up the Rust compiler are a great example of this.

  2. Writing new code. Almost nobody measures code while they're writing it. At best you'll have a CI benchmark (the Rust compiler has this). But while you're actually writing the code it's mostly find just to use your intuition. Preallocate vectors. Don't write O(N^2) code. Use HashSet etc. There are plenty of things that good programmers can be sure enough are the right way to do it that you don't need to constantly second guess yourself.

[–] FizzyOrange@programming.dev 3 points 1 week ago

Do you realize how old assembly language is?

Do you? These instructions were created in 2011.

It predates hard disks by ten years and coincided with the invention of the transistor.

I'm not sure what the very first assembly language has to do with RISC-V assembly?

[–] FizzyOrange@programming.dev 3 points 1 week ago

flawed tests are worse than no tests

I never said you should use flawed tests. You ask AI to write some tests. You READ THEM and probably tweak them a little. You think "this test is basic but better than nothing and it took me 30 seconds. You commit it.

[–] FizzyOrange@programming.dev 3 points 1 week ago

It absolutely is a challenge. Before AI there weren't any other systems that could do crappy automated testing.

I dunno what you mean by "it's not AI". You write the tests using AI. It's AI.

25
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?

 

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.

 

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

view more: next ›