363 questions
2 votes
1 answer
182 views
How to use Temporal pydantic_data_converter while not causing a workflow validation failure?
My understanding is that to get the pydantic_data_converter to auto convert outputs, you need to pass a function reference, i.e. This properly returns a TestModel result: TestModel = await ...
0 votes
0 answers
31 views
Deterministic minimization of a stochastic function with subgradient method
Problem: I have implemented several step-size strategies (classic, Polyak, and Adagrad), but my subgradient algorithm either diverges or fails to converge. Initially, I focused on the problem: Initial ...
1 vote
0 answers
147 views
Does Ollama guarantee cross-platform determinism with identical quantization, seed, temperature, and version but differing hardware?
I’m working on a project that requires fully deterministic outputs across different machines using Ollama. I’ve ensured the following parameters are identical: Model quantization (e.g., llama2:7b-q4_0)...
0 votes
1 answer
129 views
Deterministic Property not Working as Expected in UDF
I am creating an UDF expecting to be deterministic, i.e., it should give same result for same input. But it is not working as expected when the table is updated. Step #1. Create a table and insert few ...
2 votes
1 answer
68 views
Pandas HTML generation, reproducible output
I am writing a Pandas dataframe as HTML using this code import pandas as pd df = pd.DataFrame({ "a": [1] }) print(df.style.to_html()) I ran it once and it produced this output <style ...
2 votes
1 answer
265 views
Deterministic build in .NET8
We have an issue with the deterministic build in .NET8. We have a large project with many referenced libraries. For simplification, lets have lib2 which is referenced by lib1. If source code of lib2 ...
-2 votes
1 answer
88 views
May deterministic computations produce different results when run on computers with different CPUs of the same architecture?
I'm trying to pinpoint the source of inconsistency in the results of a long computation across different hardware. Some computers produce result A, and others produce result B. Assuming all other ...
1 vote
4 answers
321 views
Fast integer sqrt using Math.Sqrt
I'm trying to calculate the square root of integer values. It doesn't need to be very accurate, but it should be fast and deterministic across platforms. I'm using this for a RTS game with lockstep ...
0 votes
1 answer
125 views
How to seed OpenSSL PRNG in Rust?
I use the openssl crate for key generation and crypto functions. I would like to seed the PRNG (or at least add entropy from application with RAND_ADD()),. However it seems that it is not possible (...
0 votes
1 answer
173 views
Is a test in a Durable Azure Orchestrator function non-deterministic if the test could yield a different result on re-run?
This question is about determinism in an Azure orchestrator function that does some updates to a third-party system when an entity changes in the same third-party system. I am considering using ...
0 votes
1 answer
230 views
Unable to create an DPDA that accepts strings in binary notation multiples of 3
Just learned about DPDA's on my Theory of computation class. Professor gave us a semester task to create a deterministic pushdown automaton state diagram that is able to accept all strings multiples ...
0 votes
3 answers
1k views
Hybrid Public Key Encryption (HPKE) with deterministically generated key pairs using Tink
I would like to use Google Tink for public key encryption / private key decryption, mostly because it's high-level enough and is available in a variety of programming languages (e.g. from Android and ...
2 votes
1 answer
553 views
Deterministic automaton whose input length is divisible by 3 or 5?
I only have one letter available as a language (e.g.: x). If I now enter "xxx" or "xxxxx" then the machine should accept this input because in the former case the length is 3 and ...
0 votes
0 answers
101 views
How to implement RSA based on custom user defined padding -JAVA
Im trying to implement RSA based on custom padding value. cipher.init(ENCRYPT_MODE, publicKey,oaepParameter, secureRandom); I would like to change the secureRandom function to somthing else. ...
1 vote
1 answer
343 views
How to include time-varying parameters in an ODE system with deSolve R without modification of cumulative indicators when using approxfun?
I need to summarise the total number of people alive, the total number of deaths, and some other cumulative indicators, in a deterministic compartmental model with parameters that vary each year. I’m ...