FizzyOrange

joined 2 years ago
[–] FizzyOrange@programming.dev 1 points 37 minutes 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 5 points 1 hour 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 1 hour ago

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

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

On a university network.

Yeah me too but if you keep reading they didn't actually "move on" in the way that it sounds.

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

I agree, but if you take away the hard numbers from this (which you should) all you're left with is what we all already knew from experience: fast languages are more energy efficient, C, Rust, Go, Java etc. are fast; Python, Ruby etc. are super slow.

It doesn't add anything at all.

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

IMO it's not as good a language as Rust, so I wouldn't learn it for the purposes of making something. However it's very easy to learn (at least to a productive level), so you may as well if you want to.

Just work through go by example and see what you think.

By far the best thing about Go is the tooling. Language itself is eh.

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

Yeah you can use it for normal software. It is very complex though, and the documentation assumes you already have a PhD in formal verification.

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

Sure, but I don't think that's an excuse for things like global hotkeys not working.

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

It's a very heavily gamed benchmark. The most frequent issues I've seen are:

  • Different uses of multi-threading - some submissions use it, some don't.
  • Different algorithms for the same problem.
  • Calling into C libraries to do the actual work. Lots of the Python submissions do this.

They've finally started labelling stupid submissions with "contentious" labels at least, but not when this study was done.

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

They chose an “optimized” set of algorithms from “The Computer Language Benchmarks Game” to produce results for well-optimized code in each language.

Honestly that's all you need to know to throw this paper away.

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

Stop linking this, please! Any benchmark where Typescript and JavaScript are different is trash.

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 ›