FizzyOrange

joined 2 years ago
[–] FizzyOrange@programming.dev 1 points 6 minutes ago

I doubt this will fly in the UK. They are legally required to implement "highly effective" age verification, and that definitely rules out AI and probably face recognition (pornhub doesn't support that for example). It's going to be credit card checks all round, yeay.

The only rule you need is: preserve history that is worth preserving.

99% of the time, that means you should squash commits in a PR. Most commits should be small enough that they don't need more fine grained history than one commit.

I will grant a couple of exceptions:

  1. Sometimes you have refactorings where you e.g. move a load of files and then do something else.. Or do a big search and replace and then fix the errors. In these cases it's nice to have the file moves or search/replace in separate commits to a) make review easier, b) make the significant changes easier to see, and c) let git track file moves reliably.
  2. Sometimes you have a very long lived feature branch that multiple people have worked on for months. That can be worth keeping history for.

Unfortunately, if you enable merge queues on GitHub it forces you to pick one method for all PRs, which is kind of dumb. We just use squash merges for everything and accept that sometimes it's not the best.

Not really because I've never seen a setup that requires every commit in a branch to compile and pass tests. Only the merge commit needs to.

Also if your PR is so big that it would be painful to bisect within it, then it should be broken into smaller PRs.

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

Stock ctrl-r is kinda shit but you can make it a lot better with McFly or Atuin.

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

I don't think anyone disputes that, it's just that nobody has come up with anything better.

Take home exercises were a potentially better option (though they definitely have other big downsides) but they aren't a sensible choice in the age of AI.

Just taking people's word for it is clearly worse.

Asking to see people's open source code is unfair to people who don't have any.

The only other option I've heard - which I quite like the sound of but haven't had a chance to try - is to get candidates to do "live debugging" on a real world bug. But I expect that would draw exactly the same criticisms as live coding interviews do.

What would you do?

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

I don't have a particular story. A lot of industries use "competency based questions", you know "tell us about a time when...".

They're awful. If you don't know what I'm talking about count yourself lucky.

Which would you rather, "write some code to filter off numbers from a list", or "tell us about a time when you worked with someone difficult. How did you win them over and subsequently become best friends?".

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

No it has very significant differences to Git beyond the CLI.

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

It is no secret that git’s interface is a bit too complex

Right but that's mostly because the CLI is a mess, not because the fundamental data model is bad.

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

Some bad interview questions are like that, sure. But they're supposed to be things you are very unlikely to have done before and can reasonably figure out. It's not too hard to come up with simple questions like that. (Though I will grant many people don't seem to bother.)

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

IMO this is not a helpful way to put it. They measure skill under stress. Stress may have a large effect on skill level for some people but highly unlikely that it's so large that performance is completely random.

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

You don't know how good you've got it. The hiring process in other industries is much worse.

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

On a university network.

22
submitted 4 months ago* (last edited 4 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 ›