[-] FizzyOrange@programming.dev 1 points 1 day ago

Ah yeah I forgot about namespaces. I don't think they're a popular feature.

The other two only generate code for backwards compatibility. When targeting the latest JavaScript versions they don't generate anything.

Ok decorators are technically still only a proposal so they're slightly jumping the gun there, but the point remains.

[-] FizzyOrange@programming.dev 2 points 1 day ago

Hmm I'm not sure if this is solid parametric CAD. It let me draw a rectangle and then extrude that giving a zero-width tube... There doesn't seem to be any way to add dimensions either.

Definitely loads quickly though and feels snappy. But for actually getting stuff done FreeCAD is definitely the best FOSS option at the moment.

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

No they don't. Enums are actually unique in being the only Typescript feature that requires code gen, and they consider that to have been a mistake.

In any case that's not the cause of the difference here.

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

Private or obscure ones I guess.

Real-world (macro) benchmarks are at least harder to game, e.g. how long does it take to launch chrome and open Gmail? That's actually a useful task so if you speed it up, great!

Also these benchmarks are particularly easy to game because it's the actual benchmark itself that gets gamed (i.e. the code for each language); not the thing you are trying to measure with the benchmark (the compilers). Usually the benchmark is fixed and it's the targets that contort themselves to it, which is at least a little harder.

For example some of the benchmarks for language X literally just call into C libraries to do the work.

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

Their measurements include invocation of the interpreter. And parsing TS involves bigger overhead than parsing JS.

But TS is compiled to JS so it's the same interpreter in both cases. If they're including the time for tsc in their benchmark then that's an even bigger WTF.

[-] FizzyOrange@programming.dev 1 points 3 days ago

It has no memory, for one.

It has very short term memory in the form of it's token context. Especially with something like Meta's Coconut.

What makes you think that it does know its in a conversation?

I don't really. Yet. But I also don't think that it is fundamentally impossible for LLMs to think, like you seem to. I also don't think the definition of the word "think" is so narrow that it requires that level of self-awareness. Do you think a mouse is really aware it is a mouse? What about a spider?

[-] FizzyOrange@programming.dev 10 points 3 days ago* (last edited 2 days ago)

Ah this ancient nonsense. Typescript and JavaScript get different results!

It's all based on

https://en.wikipedia.org/wiki/The_Computer_Language_Benchmarks_Game

Microbenchmarks which are heavily gamed. Though in fairness the overall results are fairly reasonable.

Still I don't think this "energy efficiency" result is worth talking about. Faster languages are more energy efficient. Who new?

Edit: this also has some hilarious visualisation WTFs - using dendograms for performance figures (figures 4-6)! Why on earth do figures 7-12 include line graphs?

[-] FizzyOrange@programming.dev 1 points 3 days ago

Your comment doesn't account for the fact that LLMs can generalise. Often not very well but they can produce outputs for inputs not seen in their training sets. Otherwise what would be the point?

You would not ask a piece of cardboard so solve a math problem, would you?

Uhhh you know LLMs can solve quite complex maths problems? Including novel ones.

[-] FizzyOrange@programming.dev 2 points 3 days ago

This argument makes no more sense than trying to say that a plant is thinking because brains are made of cells and so are plants.

[-] FizzyOrange@programming.dev 1 points 3 days ago

By that logic we also conclude that the human brain doesn't "think" about what it is saying.

[-] FizzyOrange@programming.dev 4 points 4 days ago

It's really amazing the number of people trying to argue that LLMs are useless, while simultaneously so many people are using them successfully. Makes me wonder if they've even tried them.

[-] FizzyOrange@programming.dev 1 points 4 days ago

Ah yes the old pointless vague anecdote.

If your argument is "LLMs can't do useful work", and then I say "no, I've used them to do useful work many times" how is that a pointless vague anecdote? It's a direct proof that you're wrong.

Promoting pseudo-science.

Sorry what? This is bizarre.

25
submitted 2 months ago* (last edited 2 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?

17

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.

10
Dart Macros (youtu.be)

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

view more: next ›

FizzyOrange

joined 2 years ago