deterministic Questions

3

Solved

So from what I understand about deterministic predicates: Deterministic predicate = 1 solution Non-deterministic predicate = multiple solutions Are there any type of rules as to how you can dete...
Salic asked 19/10, 2014 at 11:45

3

Does ActiveSupport::MessageEncryptor support deterministic encryption so that we get the same encrypted value every time we encrypt a particular string? If not, are there any other Ruby libs that s...
Calcium asked 26/2, 2018 at 18:32

4

Solved

I've done some searching and I think the following code is guaranteed to produce output: B.X = 7 B.X = 0 A.X = 1 A = 1, B = 0 static class B { public static int X = 7; static B() { Conso...
Upswing asked 9/9, 2010 at 22:36

2

Solved

Motivation I've just rewritten some 30 mostly trivial parsers and I need that the new versions behave exactly like the old ones. Therefore, I stored their example input files and some signature of...
Chang asked 25/8, 2017 at 6:56

3

Solved

In the past I have dealt with time-critical software development. The development of these applications basically proceeded as follows: "let's write the code, test latency and jitter, and optimize ...
Motherhood asked 30/4, 2017 at 15:9

2

Solved

Being new to Prolog, I came across a very interesting discussion that happened in late 2012. What I noticed was that there were, at the time, two notions of 'semidet' in Prolog community, namely: ...

3

Solved

How can I guarantee that floating point calculations in a .NET application (say in C#) always produce the same bit-exact result? Especially when using different versions of .NET and running on diff...
Vitriol asked 4/3, 2010 at 3:24

1

Solved

I have a very large simulation in python with lots of modules. I call a lot of random functions. To keep the same random results I have a variable keep_seed_random. As so: import random keep_see...
Hying asked 17/6, 2016 at 17:16

2

Solved

Firstly, I have read all other posts on SO regarding the usage of cuts in Prolog and definitely see the issues related to using them. However, there's still some unclarity for me and I'd like to se...

3

Solved

Is this possible to run multithreaded Java application in a deterministic fashion? I mean to have always the same thread switching in two different runs of my application. Reason for that is to ru...
Atherosclerosis asked 14/4, 2016 at 15:0

10

Solved

I understand that floating point calculations have accuracy issues and there are plenty of questions explaining why. My question is if I run the same calculation twice, can I always rely on it to p...
Systemize asked 30/11, 2008 at 8:11

3

Solved

I'd like to make some shuffles of sets which will be the same every time my program is run: This is one way to do it: (def colours ["red" "blue" "green" "yellow" "cyan" "magenta" "black" "white"...
Thanhthank asked 12/2, 2013 at 15:54

2

Some programming problems don't require the full power of a Turing machine to solve. They can be solved with much less power. I am seeking a programming language with lesser power. Does there exis...

3

I'm really new to this stuff so I apologize for the noobishness here. construct a Deterministic Finite Automaton DFA recognizing the following language: L= { w : w has at least two a's and an o...
Moidore asked 3/2, 2013 at 20:17

4

Solved

According to MSDN SQL BOL (Books Online) page on Deterministic and Nondeterministic Functions, non-deterministic functions can be used "in a deterministic manner" The following functions are no...

3

Solved

Are floating point operations in Delphi deterministic? I.E. will I get the same result from an identical floating point mathematical operation on the same executable compiled with Delphi Win32 com...

5

Solved

I'm using QueryPerformanceCounter to do some timing in my application. However, after running it for a few days the application seems to stop functioning properly. If I simply restart the applicati...
Rombert asked 14/3, 2011 at 9:48

1

Solved

Given the following table create table tmp_test as select mod(level, 5) as n from dual connect by level <= 10 ; and this function create or replace function test_deterministic (Pn in numb...
Fictive asked 20/2, 2014 at 9:18

1

Solved

The code below (to compute cosine similarity), when run repeatedly on my computer, will output 1.0, 0.9999999999999998, or 1.0000000000000002. When I take out the normalize function, it will only r...
Heterolecithal asked 8/2, 2014 at 6:25

6

Solved

(This is related to Floor a date in SQL server.) Does a deterministic expression exist to floor a DATETIME? When I use this as a computed column formula: DATEADD(dd, DATEDIFF(dd, 0, [datetime_col...
Groot asked 21/11, 2008 at 17:17

3

Solved

I stepped into the assembly of the transcendental math functions of the C library with MSVC in fp:strict mode. They all seem to follow the same pattern, here's what happens for sin. First there is...
Scapular asked 9/3, 2013 at 18:32

4

How do you say δ: Q × Σ → Q in English? Describing what × and → mean would also help.
Chard asked 14/2, 2013 at 7:51

3

Solved

Given: I have no idea what the accepted language is. From looking at it you can get several end results: 1.) bb 2.) ab(a,b) 3.) bbab(a, b) 4.) bbaaa

3

Solved

I am developing a multiplayer game with Box2D physics for iOS. The multiplayer is using lock-step method as usual. The game updates physics world fixed-timely. There is no desync among iOS devices ...
Klaus asked 15/12, 2012 at 2:57

10

By deterministic I vaguely mean that can be used in critical real-time software like aerospace flight software. Garbage collectors (and dynamic memory allocation for that matter) are big no-no's in...
Nailhead asked 20/10, 2008 at 5:10

© 2022 - 2024 — McMap. All rights reserved.