Prime

joined 2 years ago
[–] Prime -3 points 3 days ago

This kind of ad hominem is not going to convince undecided people of your view

[–] Prime 7 points 1 week ago

In Vietnam sarcasm is limited. Particularly in the countryside.

[–] Prime -5 points 2 weeks ago (1 children)

Uh... Does this imply that in a sexless marriage one is allowed to have sex with a third party without incurring fault?

[–] Prime 1 points 3 weeks ago

They changed the recipe a decade or so back. They were quite good before, not anymore.

[–] Prime 5 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I want to offer counter points.

If you want an oil that does not impact the taste, and that has specific melting properties at certain temperatures, then palm oil can be the correct choice. This is a quality of palm oil that few other oils have. It is neither inherently good nor bad, it is just a property you can select. If you actually want a certain taste by the oil itself, then don't select palm oil.

Secondly, being cheap is nothing bad. It is, by itself, unrelated to quality. In fact, all else being equal, cheap ingredients should be preferred. We need to get away from the opinion that only expensive food is good. Price and quality are somewhat correlated, but this is not an absolute, and it most certainly is not a requirement.

[–] Prime 4 points 1 month ago

The physical size is always zero. But it's event horizon can get larger with more mass

[–] Prime -3 points 1 month ago* (last edited 1 month ago)

Bolts don't work like this. And the geometry is so easily wrong here. I didn't think a human would be so sloppy

[–] Prime -3 points 1 month ago (3 children)

Is this AI?

[–] Prime 25 points 1 month ago

Welcome to the wonderful world of yaoi

[–] Prime 5 points 1 month ago (1 children)

Don't forget Terraria :)

[–] Prime 4 points 2 months ago

Yes I'm happy for them but the title seems to be an exaggeration.

[–] Prime 2 points 2 months ago (2 children)

I didn't get it. We had this in Germany for decades. Is there a difference here?

 

My understanding is that windows are moved withint a screen using Win+Arrow and across screens with Win+Shift+Arrow. I would like to unify this, to move windows around without pressing shift.

In Windows, it it possible to move a window to, e.g., the left edge of a screen with Win+Left. A subsequent Win+Left press then moves it to (the right edge of) the monitor to its left. I find this simpler and also substantially quicker. Is it possible to replicate this behavior?

Alternating pressing shift is rather burdensome for me, as my fingers are not as quick and flexible as they used to be, and neither is my brain, for these split-second tasks that happen a thousand times every day.

9
submitted 10 months ago* (last edited 10 months ago) by Prime to c/dotnet@programming.dev
 

I want to take a screenshot. In Windows, that's a simple Graphics::CopyFromScreen call.

In Linux, I feel a little confused on how to do this. It seems there is a principal and stark distinction between X11 and Wayland, so I have to include both code paths. For either, it seems there is quite a lot of boilerplate code, often tagged as 'may break depending on your configuration, good luck'.

Effectively, what I found is recommended most often is to call ffmpeg to let it handle that. I'm sure that works, but I find it rather unpalatable.

I find this strange. Taking a screenshot is, in my mind at least, supposed to be a straightforward part of a standard library. Perhaps it is, and I just completely missed it? If not, is there a good library that works out-of-the-box on most variants of linux?


Update: Thank you all for the input. I eventually went with calling ImageMagick. It is fast, easy to use, well documented, and supports capturing arbitrary displays with little effort.

 

Same post was allowed when the phrasing "... let ffmpeg do the job" is changed to "let ffmpeg handle it". So the removal seems to be purely keyword-based, in a resoundingly stupid fashion.

view more: next ›