HackerTrans
トップ新着トレンドコメント過去質問紹介求人

forthac

no profile record

コメント

forthac
·3 か月前·議論
If you're on firefox, go to about:config and set dom.webgpu.enabled to "true".
forthac
·4 か月前·議論
I believe it is under:

Settings->Copilot->Features->Privacy=>[ Allow GitHub to use my data for AI model training

Allow GitHub to collect and use my Inputs, Outputs, and associated context to train and improve AI models. Read more in the Privacy Statement. ]
forthac
·9 か月前·議論
They typically have a railing around them. The circumstances of this incident are unknown beyond a small set of details. The report indicates that the person who fell was wearing a life vest, it is likely they were doing work around the pool beyond the normal safety barriers.
forthac
·9 か月前·議論
I'm mostly just curious how that experience differs from using chatgpt directly and having it run searches and present the results?
forthac
·9 か月前·議論
This was posted to about a day ago: https://github.com/johnperry-math/AoC2023/blob/master/More_D...

But a noteworthy excerpt: ```

Ada programs tend to define types of the problem to be solved. The compiler then adapts the low-level type to match what is requested. Rust programs tend to rely on low-level types.

That may not be clear, so two examples may help:

    Ada programmers prefer to specify integer types in terms of the ranges of values they may take and/or the precision of floating-point types in terms of digits. I ended up doing this at least once, where on Day 23 I specified a floating-point type in terms of the number of digits it should reproduce accurately: Digits 18. The compiler automatically chose the most appropriate machine type for that.

    Ada arrays don't have to start from 0, nor even do they have to be indexed by integers. An example of this appears below.
By contrast, the Rust programs I've seen tend to specify types in terms of low-level, machine types. Thus, I tried to address the same problem using an f64. In this particular case, there were repercussions, but usually that works fine as long as you know what the machine types can do. You can index Rust types with non-integers, but it takes quite a bit more work than Ada.

```