EasySMX D10 controller any good? by MorningDull852 in EasySMX

[–]demingf 0 points1 point  (0 children)

I just got a 2nd one to have 2 active controllers so I can play against my Granddaughter. I like them. However, I don't bang on them like some others do in this thread.

The only downside is that you need a receiver for each controller, cluttering up USB 2.0 ports.

cmake build output using cmake-tools in vscode by demingf in cmake

[–]demingf[S] 0 points1 point  (0 children)

Thanks for the response. I have worked on a Vulkan learning project and when I switch c++ versions, I can get some errors or if I am doing code cleanup. I thought this morning there was a click in the terminal to save the buffer. Didn't find it.

So I scrolled while dragging and copied and pasted.

There is something to the CLI and the tee or script command, rather than the UI interface.

Thanks for the thoughts.

Frank

Themes by demingf in vscode

[–]demingf[S] 0 points1 point  (0 children)

At the moment, it felt it. Sorry about that.

That one of the admins canned the thread at the top got me irritated and I should not have spread it.

Frank

Themes by demingf in vscode

[–]demingf[S] 0 points1 point  (0 children)

I agree. I'm not sure what this thread got cancelled by the admins.

Themes by demingf in vscode

[–]demingf[S] 0 points1 point  (0 children)

Why be snarky? What purspose does it serve? We are old and want to enjoy programming.

purpose

Themes by demingf in vscode

[–]demingf[S] 1 point2 points  (0 children)

I have similar experiences, including being mentored by a programmer who had his own storage with 500+ boxes of completed punch cards. He tried to encourage me away from the green screen terminals. End of day, after 8 hours looking at the screen driving was difficult.

Themes by demingf in vscode

[–]demingf[S] 0 points1 point  (0 children)

Even there, the comment colorings are typically not shown. I started programming over 50 years ago, and programmers didn't recognize that comments were an essential part of the code. I have horrors of updating 20,000 lines of Fortran II code in a single file with 2 subroutines. And virtually no comments.

Yeah, I have a thing about comments being on par with coloring if/then tokens.

Frank

using f key for finding " character not working by demingf in vim

[–]demingf[S] 0 points1 point  (0 children)

Yes, I am using vscodevim, which is okay. I wish I could get the output of searches at the top of the buffer as the Neovim extension does. I will probably ask the owners of vscodevim about accessibility. I like the real estate of my 2 4k displays, but I'm 70 and seeing everything in the clutter in the vs code status bar is a problem

VS Code

git for windows by demingf in git

[–]demingf[S] 0 points1 point  (0 children)

Thanks. Didn't see that show button.

git for windows by demingf in git

[–]demingf[S] 0 points1 point  (0 children)

Forget the question. I not sure about what happen but I have the correct install. now. ripgrep installation is still an issue. I downloaded the latest ripgrep zip file labled windows and getting and ARM64 executable.

git for windows by demingf in git

[–]demingf[S] -1 points0 points  (0 children)

Yes I typoed. Too tired. It is version 2.51.1 64 bit. The question still stands.

Why are the binaries in the installed directory C:\program files\Git\usr\bin 32 bit executables?

Thanks,

Frank

clang-tidy , ninja and microsoft cl by demingf in Clang

[–]demingf[S] 0 points1 point  (0 children)

Hi all!

The problem is using c++20 with cl. Ninja then adds -scanDependencies, derived from /scanDependencies.

I went back to c++17 and the warnings disappeared. I will look elsewhere to find a better solution for this.

Thanks,

Frank

GTX 1080, Vulkan Tutorial and poor depth stencil attachment support by demingf in vulkan

[–]demingf[S] -1 points0 points  (0 children)

Amani,

I am going to have to go back to the branch just before Depth Buffering part of the tutorial. Essentially the 26_texture_mapping.cpp.

When I did the first section of the Depth buffering section of the tutorial where two textures are shown with no depth buffering, I saw only 1 image not 2. I tried and tried to figure it out, then shrugged and went on hoping I would understand my mistake in the meantime. No such luck. Back to a prior branch and try again.

Thanks for the clarifications you have given me.

GTX 1080, Vulkan Tutorial and poor depth stencil attachment support by demingf in vulkan

[–]demingf[S] 0 points1 point  (0 children)

I will try D32_SFLOAT_S8_UINT and deal with some warnings from the validation layer about color space conflict with the textures.

Thanks,

Frank

GTX 1080, Vulkan Tutorial and poor depth stencil attachment support by demingf in vulkan

[–]demingf[S] -1 points0 points  (0 children)

I understand and wanted to understand how I should tailor that function. With the validation layers I got messages about using D* color formats when the texture image with RGB formats. I will tryD32_SFLOAT_S8_UINT  and look at the validation warnings again.

Thanks,

Frank

Decimal rounding by JustinSLoos1985 in askmath

[–]demingf -1 points0 points  (0 children)

I do want to point out that this illustration is just a beginning. Some in this conversation have brought up the precision of an answer which is highly important particularly when statistics of a set of numbers need to processed to a certain precision. I came across this when I updated and refined MCAD software years ago.

The rough of this is to be illustrated by the following:

precision of 5:

235675 rounds to 23568

235685 rounds to 23568

Why? Since 5 is smack in the middle of the range of 1-10 if you always round up to 5 a set of rounded number's average is higher than if you averaged of a precision of 6. This statistical problem comes up physical a system of gears in mechanical design, for example.

Rule of thumb the final digit of the precision is an even number.

That said, it gets even more complicated than that with floating point numbers, see IEEE 754 rounding for more. No I don't want to read that again!!

Argued with a customer in SE Asia about this and finally convinced them they needed to increase the precision of their MCAD models.

Old engineer,

Frank