FizzyOrange

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

Also note the drop in Chrome OS mirrors the rise in Linux so I wouldn't rule out this just being user agent changes.

[–] FizzyOrange@programming.dev 2 points 9 hours ago (2 children)

Why do they even have two lines for OS X and macOS? It's the same thing.

[–] FizzyOrange@programming.dev 3 points 15 hours ago (1 children)

Misguided investment IMO. Smart glasses hardware is still at least a decade from being something that normal people would want.

[–] FizzyOrange@programming.dev 1 points 17 hours ago

Not my experience. More like 50% coding/debugging, 25% meetings, 25% admin/helping people/procrastinating.

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

Yes I'm aware where Git came from.

Large files don’t work with git, as it always stores the whole history on your drive.

Not any more. That's only the default. Git supports sparse checkouts and blobless checkouts both of which only get a subset of a repo. And actually it has supported --depth for as long as I remember.

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

Libraries are now always a suitable solution. You just haven't worked on the same projects I have and you can't imagine all the things submodules are used for.

On top of that, I can't force all third party projects to turn their repos into nice easily installable packages. Especially if they're using a language that doesn't have a package manager.

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

So what? You can manually merge them. File locking is also a common solution (LFS supports that).

The level of "you're holding it wrong" here is insane.

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

That can work in some cases, but it's usually not that great for first party projects where you want to be able to see and edit the code, and most package managers are OS or language specific so they don't work well with multi-language project or projects using a language that doesn't have a good package manager (SystemVerilog for example).

People always say this, and I have seen it happen occasionally. But in practice when it happens it's usually fairly obvious and not that confusing (especially with git blame).

The frustration I've experienced from missing comments is several orders of magnitude more than the frustration I've experienced from outdated comments. I think mostly this is an excuse to be lazy and not write comments at all.

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

Well, git is for source control, not binary artefacts

Only because it is bad at binary artefacts. There's no fundamental reason you shouldn't be able to put them in version control.

It's not much of an argument to say "VCSes shouldn't be able to store binaries because they aren't good at it".

What are your requirements? What do you need this for?

Typically there's a third or first party project that I want to use in my project. Sometimes I want to be able to modify it too (soft fork).

And why do you think everyone else needs the same?

Because I've worked in at least 3 companies who want to do this. Nobody had a good solution. I've talked to colleagues that also worked in other companies that wanted this. Often they come up with their own hacky solutions (git subtree, git subrepo, Google's repo, etc. etc. - there are at least half a dozen of these tools).

It’s quite possible you are doing it wrong.

No offence, but your instinctive defence of Git and your instant leap to "you're holding it wrong" are a pretty dead giveaway that you haven't stopped to think about how it could be better.

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

Tbh these aren't things that are big issues with Git. The biggest issues I have are:

  • Storing large files. LFS is a shitty hack that barely works.
  • Integrating other repos. Git submodules are a buggy hack, and Git subtree is.. better... but still a hack that adds its own flaws.

Fix those and it will take over Git in a very short time. Otherwise it's just going to hang around as a slightly nicer but niche alternative.

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

Yeah what desktop environment doesn't get out of your way? Even Windows with the ads enabled leaves you alone 99.99% of the time.

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 ›