355 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
95
views
Can Scala check termination for type-level computations?
Full dependent types without termination checking allow you to break type safety with e.g. (in Idris)
anything : a
anything = anything
which allows you to "create" a value of any type a (e....
-1
votes
1
answer
90
views
While loop early termination
I have this task that produces pancake and users can also eat it at the same time. The condition is that it's only 12 pancake that can be produced within 30 seconds. The problem I am having is that as ...
1
vote
1
answer
209
views
SIGTERM signal logs for Go application in EKS
func ServeRequest(configuredRoutes http.Handler) {
air_logger.SERVER_STARTUP("########## SERVER STARTED ##########")
server := &http.Server{
Addr: config.GetConfig()....
0
votes
2
answers
92
views
Termination checking of a function fails in Agda
I'm currently writing the following incomplete function for this project:
extend : ∀ o asc (s : CSet (suc k) o) → SC asc → SC (add s asc)
extend 0 asc s rewrite l≡0 s Eq.refl =
restrict (add (...
1
vote
1
answer
155
views
Proving non-linear traversal terminates in Dafny
I have an array of nats in Dafny that I want to traverse in a non-linear manner. To elucidate the problem: Consider an array such that (please ignore the syntax for now):
var links : array<nat>;
...
0
votes
0
answers
71
views
Idris prove termination of proof without assert_smaller
I am proving a theorem using Idris and in the proof, I am applying the theorem itself to the hypotheses. However, I cannot apply it the hypotheses directly; I have to do a rewrite. Because of this, ...
1
vote
2
answers
547
views
How to know spring boot application run stopped due to hard error or it just completed normally
I have a requirement like if Spring Boot application suddenly stopped due to error I need to send an alert in splunk. If it stopped normally, I have a logs in application so based on logs I'm ...
2
votes
1
answer
775
views
Why Apache Traffic Server does not cache https content even though SSL termination has been setup?
I'm using ATS as forward proxy. The http content cache without any problem, but the https content just don't work. Here are my configures.
# records.config
CONFIG proxy.config.http.server_ports STRING ...
1
vote
1
answer
625
views
TLS termination of Redis traffic in Istio
I've been looking at terminating TLS in Istio between the redis client and server running in the Kubernetes cluster.
Essentially we have an Istio ingress gateway which handles all traffic to the ...
0
votes
1
answer
410
views
Can node affinity cause pod eviction?
I have a number of jobs running across multiple nodes within the cluster. Randomly, the pods begin terminating and a new pod is created by the job.
Each pod has a node affinity assigned to it, using ...
0
votes
1
answer
1k
views
OpenAI gym CarRacing-v2 episode termination
I am using gym==0.26.0 library and am trying to understand what means that an episode is finished/done in the CarRacing-v2 environment. In the documentation is written this.
### Rewards
The reward is -...
0
votes
0
answers
54
views
Finding if the lcm of a list is in the set 3^d
I need to find a better way to raise the 'tes' variable in python till I can get the print out to terminate.
(Running rather slow at 700)
I propose the need for a better way of defining the 'shifts' ...
1
vote
1
answer
150
views
Function termination proof in Isabelle
I have datatype stack_op which consists of several (~20) cases. I'm trying write function which skips some of that cases in list:
function (sequential) skip_expr :: "stack_op list ⇒ stack_op list&...
0
votes
2
answers
83
views
Why does my service not stop when the app is terminated?
I have a service in my app which adds a notification every few seconds.
My problem is that it doesn't stop when the app is stopped.
Can someone please let me know why is that?
My code:
Service class:
...
1
vote
0
answers
119
views
Gracefull termination of multiprocessing.Pool.map function using KeyboardInterrupt
I'm trying to terminate gracefully Pool.map() function using KeyboardInterrupt.
import multiprocessing
import time
def func(num):
try:
while True:
print(f'Process num {num}')
...