Questions tagged [runtime]

Runtime is the time during which a program is running (executing)

In computer science, run time, run-time, runtime, or execution time is the time during which a program is running (executing), in contrast to other phases of a program's lifecycle such as compile time, link time, load time, etc.

A run-time error is detected after or during the execution of a program, whereas a compile-time error is detected by the compiler before the program is ever executed. Type checking, storage allocation, code generation, and code optimization are typically done at compile time, but may be done at run time depending on the particular language and compiler.

Related

7799 questions
2
votes
1 answer

How to change the log level of AWS Lambdas(NodeJS) at runtime?

we use pino logger and it looks like this: import pino from 'pino-lambda'; const logger = pino({ name: 'ac', level: process.env.STAGE == 'prod' ? 'info' : 'debug', redact: ['password', ] }); export default logger; How to change the…
systemdebt
  • 4,589
  • 10
  • 55
  • 116
2
votes
0 answers

Why Delegation doesn't facilitate run time Polymorphism in Java?

I'm new to this topic called Delegation .So I'm referring this article on Delegation. And there is a line in the article delegation is not directly supported by most popular object-oriented languages, and it doesn’t facilitate dynamic…
MRM
  • 165
  • 6
2
votes
1 answer

chrome extension - how i can await for chrome.runtime function?

My action in the background is to access the site and take information from there, the problem is that the code continues before the information is received. Attached is a code that shows the problem: background.js…
Dor Swisa
  • 43
  • 1
  • 7
2
votes
1 answer

How to change dependent jar at runtime in a Spring application without restarting the application itself?

Context Let's say we have a Spring app (spring.jar) dependent on lib.jar. This jar would have a method String getData(). This method would return the letter "A". We would run the spring app with the following command: java -cp "spring.jar:lib.jar"…
Cristian
  • 1,590
  • 5
  • 23
  • 38
2
votes
1 answer

Loading iOS app resources from a website

I'm currently working on an universal iOS application which has reached more than 100mb in size due to the heavy usage of video and sound files. I've implemented a solution for loading these assets at runtime (from a website) but I'd like to know if…
2
votes
0 answers

How to change Office addin's runtime to use Microsoft edge WebView 2?

I want to change the office addin's runtime to use Microsoft Edge WebView2 runtime for Office 365 Semi annual channel. I found an article by Microsoft on how to change office Addin's runtime and use the following steps ->…
Avishek Nand
  • 25
  • 1
  • 6
2
votes
3 answers

What's the canonical way to make the directory that has the current source file to be searched by `use` and `require` statements in Perl in mod_perl?

I tried BEGIN { unshift @INC, 'current_path_string'; } But it only works for use, when require, it's not searched. Is there a work around?
new_perl
  • 7,345
  • 11
  • 42
  • 72
2
votes
1 answer

Runtime determination of base class at runtime in Java

I have two classes, one which is hardware-dependent and one which is not (let's call them HardwareDependent and HardwareIndependent respectively). The Hardware dependent class extends the hardware independent class. Now I have another class which…
Max Feldkamp
  • 527
  • 1
  • 5
  • 16
2
votes
0 answers

Running Unity UWP applications, with Vuforia, on Windows 10

I need to run an Unity project with Vuforia, compiled as UWP application on a Windows 10 PC. I'm trying UWP format because Vuforia don't support classic windows build. Inside Unity Editor everything works perfectly in game mode but compiling it as…
P.O.W.
  • 1,895
  • 1
  • 16
  • 14
2
votes
2 answers

How can I launch an external application from a Java GUI in Linux?

I'm creating a Java application that helps people to learn Chinese. I've already created a Java GUI but I'm struggling to work out how to create a button that launches an external application in a new window. I've looked up various tutorials on…
Kate
  • 21
  • 3
2
votes
2 answers

Why is BFS O(n+m)?

The first while loop needs to visit all nodes in the worse case. This is n. For each visiting node, it needs to check all adjacent nodes/edges. I think this should be O(n*maximum deg(u)). Why are all answers found in google say that you just need…
2
votes
1 answer

Upside-down Orientation in Runtime

I recently redesigned a view controller in storyboard, which before the redesign was portrait. Once redesigned, it ran upside down, with no code changed. I must have pressed something but have no idea what. How do I reorientate this upright?
Henry Hall
  • 39
  • 6
2
votes
1 answer

argparse module - How to change help format in runtime?

Lets say, I've got a parser: self.__parser = argparse.ArgumentParser( prog = '<...>', fromfile_prefix_chars='@') After it is initialized I want in runtime to change the prog variable in…
Pytor
  • 21
  • 1
2
votes
1 answer

When should we use soft-O, soft-Omega, soft-Theta

I'm new to algorithm field and meet soft notations many times. I don't understand the usage of soft notations. According to the wikipedia, 'Essentially, it is big O notation, ignoring logarithmic factors because the growth-rate effects of some…
Dan
  • 55
  • 5
2
votes
1 answer

Complexity of the recurrence T(n)=T(n/2)+T(n/2)+n^2?

In accord to Master Theorem this recurrece is θ(n^2), but if we solve this with tree recurrence the solution is θ(n^2*logn). Am I doing something wrong?
user13557576
1 2 3
99
100