Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
67 views

I am new to automata. I am currently designing an NFA over the language {a, b} that should accept strings where the number of as is odd. I have designed an NFA for this, but I think it's kind of like, ...
Aqua's user avatar
  • 1
1 vote
0 answers
229 views

I'm using tensorflow v.2.16.1 and I'm encountering this error GPU MaxPool gradient ops do not yet have a deterministic XLA implementation when setting tf.config.experimental.enable_op_determinism() I ...
tombinic's user avatar
1 vote
1 answer
525 views

I’m currently working on a project that requires generating 100% reproducible outputs from OpenAI’s GPT-4 model for the same input prompt. Despite experimenting with various parameters like ...
Kishor G's user avatar
0 votes
1 answer
345 views

I am running below code on Databricks 14.3 ML LTS cluster. I am performing a validation task for the code migration from Databricks 10.4 ML LTS to 14.3 ML LTS. window_c = ( Window() ....
Kavishka Gamage's user avatar
0 votes
1 answer
174 views

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 ...
shacklrobert's user avatar
2 votes
1 answer
140 views

A Django 4.2 on Python 3.10 application misbehaves sometimes, in a place that should be stateless. If I access the database (postgresql 14 via pcygopg 3.1.18) while working with pypdf 3.17.4, the ...
user's user avatar
  • 61
1 vote
0 answers
274 views

With the following code I sometimes get timeout, then RO output, sometimes the reverse. Are both valid browser behaviours? Or just one? const div = document.createElement("div") document.body....
ByteEater's user avatar
  • 1,201
2 votes
1 answer
108 views

I have a scenario of traversing a non-deterministic search space, with an upper bound on the number of visits. Using ListT (State Int) a, I have managed to achieve this. My expectation was that, ...
cobra's user avatar
  • 579
-1 votes
1 answer
346 views

in my .bb i use this expression for determine the value of SRCREV based on the existence of the environment variable GW_TAG, which may contains a git tag: SRCREV = "${@ d.getVar('AUTOREV') if d....
rmbq's user avatar
  • 473
0 votes
1 answer
129 views

I am having a really tough time on this conversion problem. I have read, re-read and watched videos but I am pretty sure the answer I am coming up with is not correct.here is the diagram of the NFA I ...
comp_sci_noob's user avatar
1 vote
2 answers
508 views

I know that a deterministic ORDER BY is when you sort by a UNIQUE INDEX column, 1) is this true?. I want to sort by the columns name and percentage. There is a possibility that 2 or more students have ...
gus's user avatar
  • 132
0 votes
1 answer
183 views

For example, my firebase cloud functions URL will be different in my emulator instance, my development Firebase project (online), and my production Firebase project (online). On the client side, I ...
Ashar Rahman's user avatar
3 votes
1 answer
130 views

I have a rarely reproduced bug in ruby code. By running my test suite constantly I get it once every 10-15 minutes. What I want to do is to have the execution recorded step by step and once it fails, ...
unkulunkulu's user avatar
0 votes
1 answer
121 views

I am working on a frontend repository that implements an hexagonal architecture with domain driven design, using Redux Toolkit. It is being developed in a TDD fashion. For that purpose, I am using &...
A Mehmeto's user avatar
  • 2,067
0 votes
1 answer
97 views

After several studies I see that MySQL applies gap blocking where it is not necessary. That's why I want to ask this question, is it something deterministic? I asked this question and BETWEEN SQL - ...
user avatar
2 votes
2 answers
156 views

Suppose I have a hierarchical structure like this. Father ID Child ID 1 2 1 3 1 7 3 4 3 5 3 6 In my case, those are production orders, that demand from (father) or supply to (child) each other. I need ...
Merlin Nestler's user avatar
0 votes
1 answer
385 views

The following code has non-deterministic behaviour on my machine (already with using only two processes). #include <mpi.h> #include <stdio.h> #include <stdlib.h> int main(int argc, ...
Jannek S.'s user avatar
  • 407
2 votes
0 answers
231 views

I have been asked to construct a NPDA that accepts the following language L = {anb2n : n ≥ 1}. I have completed the written assignment portion and after testing it thoroughly i am sure that my NPDA is ...
hello_people's user avatar
5 votes
1 answer
1k views

Given what I think is an identical Swift UUID, I get different hashValues for it on subsequent runs of the code. Within a single run it's consistent. eg: func UUIDTest() { let uuid = UUID(...
orion elenzil's user avatar
2 votes
1 answer
226 views

I'm writing an implementation for a non-deterministic finite state automaton (NFA) which has the goal to accurately convey information about the state set through types, which can be reasoned through ...
Eduardo Porto's user avatar
2 votes
1 answer
1k views

I am trying to create a persisted computed column in a SYSTEM_VERSIONING table dbo.Users as follows: ALTER TABLE dbo.Users ADD SessionId AS usr.GetSession() PERSISTED CONSTRAINT ...
Max Buzyak's user avatar
1 vote
2 answers
868 views

The complement of a context-free language is not always context-free. It is not allowed to just swap the final and non-final states of an NPDA and assume that it produces the complement of the ...
Tryer outer's user avatar
0 votes
2 answers
1k views

Suppose I have a function that runs calculations, example being something like a dot product - I pass in an arrays A, B of vectors and a float array C, and the functions assigns: C[i] = dot(A[i], B[i])...
Jake1234's user avatar
  • 207
0 votes
2 answers
3k views

Give a non-deterministic finite automata(NFA) which accepts the following language: The set of strings over the alphabet {0,1,...,9} such that the final digit has not appeared before. I have ...
Rui R's user avatar
  • 1
0 votes
4 answers
470 views

I have a C++ program that is nondeterministic. I run it with an input file, and it runs ok. I run it with the same input file a second time, and it crashes. I'd like to get rid of the ...
jyelon's user avatar
  • 154
0 votes
1 answer
128 views

I'd like to persist this field but can't figure out why it's non-deterministic. CREATE FUNCTION GetServiceMinutes ( -- Add the parameters for the function here @StartDate datetime, @...
Cooper's user avatar
  • 197
1 vote
1 answer
497 views

In my case, I have some hive tables, the partition column(dt) is the only column that every table contains. I execute the sql below in hive SELECT * FROM ( SELECT row_number() over(ORDER BY T.dt) as ...
slo's user avatar
  • 33
1 vote
0 answers
88 views

I have tested the following python script on 2 Windows machines, and onlinegdb's python compiler. On the Windows machines, this code when run as it is, just exits midway, non-deterministically, with ...
Venu Nathan's user avatar
0 votes
2 answers
166 views

This is an unfinished program I'm writing to learn C (only checks multiples of 2 currently...) Ultimately, I want this to be an implementation of the Sieve of Eratosthenes (prime numbers) The problem ...
Collin Quiason Rottinghaus's user avatar
0 votes
1 answer
108 views

I wrote a simple program that I am using to practice multithreading in Java. The goal is to test whether or not a Sudoku solution is valid: No repeating numbers in rows, columns, or sub-grids. At ...
Phillip Feldman 's user avatar
0 votes
1 answer
3k views

I am following the snowflake schema. I have a fact table with 9 dimension tables for a redshift warehouse. My ETL workflow is done in was glue. I have simplified the problem to just two tables (one ...
Justin B.'s user avatar
0 votes
1 answer
513 views

I have a query that joins 4 tables. It returns 35 rows every time I run it. Here it is.. SELECT Lender.id AS LenderId, Loans.Loan_ID AS LoanId, Parcels.Parcel_ID AS ParcelId, tr....
redusek's user avatar
  • 87
2 votes
1 answer
170 views

I'm trying to write an evaluation function for a language that I am working on in which non-determinism can be permitted within an if-block, called a selection block. What I'm trying to achieve is the ...
Mr.Bloom's user avatar
  • 365
0 votes
1 answer
230 views

I am having a very strange code using MPI, in which statements appear to be executed in the wrong order. Specifically, the MPI statement appears to be executing before the printf even though it comes ...
Galaxy's user avatar
  • 2,531
0 votes
1 answer
205 views

There is much said about 'nondeterminism' in Haskell: The list monad and the Amb monad call themselves nondeterministic. But these functions just model nondeterminism - they (deterministically) ...
Ari Fordsham's user avatar
  • 2,524
2 votes
2 answers
876 views

This may be impossible, but I am just wondering if there are any tools to help detect non-deterministic behaviour when I run a Python script. Some fancy options in a debugger perhaps? I guess I am ...
Ben Farmer's user avatar
  • 2,974
1 vote
0 answers
512 views

What I want to achieve: To create an index with an existing date column data converted into UTC timing (Query is written below) Issue: There's a column in table with local server date values, I need ...
Veer's user avatar
  • 23
1 vote
1 answer
1k views

I used XGBRegressor to fit a small dataset, with (data_size, feature_size) = (156, 328). Although random_state is given, the train/val history can not be reproduced each time I executed the program, ...
jabberwoo's user avatar
  • 521
3 votes
1 answer
983 views

I'm using Petgraph's toposort function to get a sorted list of the graph's nodes. toposort does not however guarantee that all nodes at the same level will be returned in a consistent deterministic ...
curiousdannii's user avatar
-1 votes
3 answers
4k views

What is the NFA that does not accept strings ending "101"?
Km Shrikanth's user avatar
0 votes
0 answers
99 views

I have the need to make a fully automated test server for a game we are making, but to keep it reliable we need full floating point determinism. We also want to be able to move our server from one ...
David Rochin's user avatar
1 vote
3 answers
105 views

I do not find a Prolog cut in Dijsktras "if fi", since he says "otherwise an arbitrary guarded list with a true guard will be selected for execution.". So his construct, does not ...
user avatar
0 votes
1 answer
121 views

We want to instrument our Prolog code by automatic determinism checks. So in the spirit of Ciao assertions we would declare :- pred <functor>/<arity> is <determinism>, where <...
user avatar
2 votes
0 answers
172 views

The following random seeds were set SEED = 1 random.seed(SEED) np.random.seed(SEED) tf.random.set_seed(SEED) The following Environmental Variables were set TRUE os.environ['TF_CUDNN_DETERMINISTIC'] = ...
Bereket Sharew's user avatar
0 votes
1 answer
185 views

I'd like to use the debug probe mentioned here but if I try to import the module as shown in the talk I get a syntax error as follows: from tensorflow-determinism import probe File "<ipython-...
Dammak's user avatar
  • 1
0 votes
2 answers
471 views

For the following code, is it possible in Haskell to combine the bindings? Here is the original code: Either1 a b = Left1 a | Right1 b either1 :: Either1 () () either1 = Left1 () either2 :: Either1 (...
pmichaels's user avatar
  • 139
5 votes
1 answer
314 views

Suppose I'm creating a simple interpreter that can throw errors, e.g. type Error = String data Term = Con Int | Div Term Term eval :: (MonadError Error m) => Term -> m Int eval (Con a) = ...
Safron's user avatar
  • 880
0 votes
1 answer
65 views

I have a df: df = pd.DataFrame({'src':['LV','LA','NC','NY','ABC','XYZ'], 'dest':['NC','NY','LV','LA','XYZ','ABC'], 'dummy':[1,3,6,7,8,10]}) src dest dummy LV NC 1 LA NY 3 NC ...
reeeeeeeeeeee's user avatar
0 votes
0 answers
230 views

How can I reproduce the same image augmentation results when I'm using the following data pipeline for an image segmentation task? I want to compare different models, so data augmentation needs to be ...
ae5n's user avatar
  • 1
1 vote
1 answer
280 views

I have an issue with some unit test code which is giving different results for every execution. I tracked it back to libsoxr (0.1.3) and discovered that is its down to the dithering option: That is, ...
Bruce Adams's user avatar
  • 5,819

1
2 3 4 5