runtime Questions

3

I am trying to implement two classes A and B which contain data stored in std::unique_ptr container, and A could transform to B with some calculation. The class A and class B are shown as below. Th...
Origan asked 25/2, 2020 at 2:6

10

I'd like to expose some (app-specific) settings to the admin interface, so users can change them comfortably and also not have to restart Django. How should I go about this? I checked out the app...
Gaekwar asked 30/6, 2011 at 0:17

4

s3.tf terraform { backend "s3" { bucket = "some-bucket" key = "path/to/key" region = "some-aws-region" }} How to pass the bucket and region values to this ...
Kunzite asked 23/7, 2020 at 7:8

24

Solved

I am having a slight issue when trying to debug and android app via usb to external device. I keep getting the error "Warning: debug info can be unavailable. Please close other application using AD...
Limon asked 3/5, 2016 at 11:56

4

Solved

I have the memoization fibonacci code and I am having trouble figuring out what the time complexity is of it: function fibMemo(index, cache) { cache = cache || []; if (cache[index]) return cache...
Levulose asked 6/3, 2017 at 3:52

3

Solved

Is there anyway to install or have VC++ Debug Runtime Distributable without installing Visual Studio ? Just to run a dll that has been compiled in debug mode using VS2013 on another machine that ha...
Sideband asked 19/8, 2014 at 12:47

3

Solved

Since it is possible that a function declared as constexpr can be called during run-time, under which criteria does the compiler decide whether to compute it at compile-time or during runtime? te...
Hornwort asked 9/1, 2013 at 23:18

6

Solved

I have an app that I routinely pass out to testers via the ad-hoc distribution method. Some of these testers are 'on the ball' and know enough about provisioning profiles and the quarterly expirati...
Brainstorm asked 23/9, 2013 at 14:1

6

Solved

There are similar questions out there, but they seem to avoid answering this specific question. How can I get the memory that my Java program uses via Java's Runtime API? The answer here indicates ...
Merganser asked 28/6, 2013 at 22:44

2

Solved

Is there any way to capture/intercept Intents of application during runtime without modifying Android framework? Modifying Android framework might require too much work. Please help me.
Spectrum asked 14/10, 2014 at 23:21

4

If I had the following code: clock_t t; t = clock(); //algorithm t = clock() - t; t would equal the number of ticks to run the program. Is this the same is CPU time? How do I compare CPU time of t...
Mihe asked 23/11, 2013 at 20:47

2

Solved

My goal is to deploy an ear file in JBoss 7.1.1. One of the classes in the ear file (which I cannot change) is using sun.net.util.IPAddressUtil class of JRE's rt.jar. In my IDE (eclipse) resolves...
Redolent asked 19/9, 2012 at 10:16

3

After updating numpy to version 1.14.1 I get the following warning message after executing any command (e.g. typing 1+1): /home/username/anaconda3/lib/python3.6/site-packages/numpy /core/_methods....
Wistrup asked 27/2, 2018 at 16:6

14

Solved

I am solving this problem: The count of ones in binary representation of integer number is called the weight of that number. The following algorithm finds the closest integer with the same weight...
Consociate asked 22/7, 2016 at 10:8

26

Solved

The goal is to create a mock class which behaves like a db resultset. So for example, if a database query returns, using a dict expression, {'ab':100, 'cd':200}, then I would like to see: >&g...
More asked 25/8, 2009 at 1:53

6

Solved

I have created a Microsoft Access file. How do I add this file to the trusted locations on my client's PC where there is only the runtime version of Access installed?
Tom asked 20/7, 2015 at 5:23

2

Solved

I am trying to set the java util logging config file at runtime to avoid having to set it as a VM parameter. But this just doesn't work. Whenever I am trying to reread the configuration, logging is...
Cappadocia asked 9/11, 2012 at 10:11

3

I've made this script but doesn't work: package com.mkyong.android; import android.annotation.SuppressLint; import android.app.Activity; import android.os.Bundle; import android.util.Log; import ...
Bogey asked 9/4, 2013 at 18:19

10

Solved

What are the different approaches for changing the log4j log level dynamically, so that I will not have to redeploy the application. Will the changes be permanent in those cases?
Pneumatics asked 4/1, 2011 at 21:38

3

I have few Lambda Functions with Python 3.6 runtime. These Lambda functions belongs to their Lambda applications. What is the best way to update the runtime to Python 3.8 or latest? How to test it ...
Intervale asked 22/4, 2022 at 3:39

7

I am creating a process P1 by using Process P1= Runtime.exec(...). My process P1 is creating another process say P2, P3.... Then I want to kill process P1 and all the processes created by P1 i.e. P...
Methadone asked 4/5, 2011 at 7:11

1

I am encountering a weird issue in visual studio 2022 (version 17.7.1). In the following program: #include <iostream> #include <sstream> using namespace std; int main() { istringstrea...
Calamander asked 19/8, 2023 at 22:14

11

Solved

We recently had a problem where, after a series of commits had occurred, a backend process failed to run. Now, we were good little boys and girls and ran rake test after every check-in but, due to ...
Reptant asked 6/10, 2008 at 18:44

2

Solved

I am getting following warning on first load of my App. lockdown-install.js:1 Removing intrinsics.%ArrayPrototype%.toReversed intrinsics.%ArrayPrototype%.@@unscopables.toSpliced intrinsics.%ArrayPr...
Barcelona asked 2/6, 2023 at 20:3

5

Solved

The question pretty much explains what I want to do. I have several projects in c# which constitute the solution and I want to view the values of static variables at runtime in visual studio. Is th...
Staples asked 14/2, 2013 at 6:52

© 2022 - 2024 — McMap. All rights reserved.