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

I am trying to run a bash command through Java.Runtime.exec(), specifically coredumpctl. I am only able to run the command on a bash terminal when I login as a root user, and this doesn't seem to be ...
user23282541's user avatar
0 votes
0 answers
27 views

Long story short, my team was hired to take on some legacy code and it was running around 5ish hours. We began making some minor changes that shouldn't have affected the runtimes in any significant ...
Ben Fuqua's user avatar
1 vote
2 answers
154 views

Take the below piece of code, that simply Trims a string, removing whitespace characters from either end: const std::string TrimString(const std::string& s) { const auto iter = std::find_if(s....
The Welder's user avatar
  • 1,099
0 votes
0 answers
65 views

I moved development of a project from Visual Studio to Rider. When I was working in Visual Studio, when pasting my input within the launch arguments, these would retain formatting. This was important ...
Nathan's user avatar
  • 21
0 votes
2 answers
49 views

I have a library from a vendor, for non-technical reasons this library needs to be treated as immutable. This library is used as a relatively small portion of a very large software project, but the ...
Compholio's user avatar
  • 1,062
2 votes
1 answer
49 views

Assembly A: public class Data { public string Text {get; set;} } Inside Assembly B ( references A): List<string> stringList = GetSomeStringsAtRunTime(); Data obj = new Data(); propertyGrid....
Piglet's user avatar
  • 29.3k
3 votes
1 answer
99 views

In The C++ Programming Language - 4th edition, in §25.3 at page 731-732 Bjarne Stroustrup shows a possible implementation of a Vector template class that's been specialized for all T* template ...
Enlico's user avatar
  • 30.3k
1 vote
0 answers
46 views

I'm working on an ECS system that automatically multithreads systems (similar to bevvy). However sometimes third party libraries don't play nice with multithreading. Bevvy's answer is resources, but ...
gjh33's user avatar
  • 121
0 votes
1 answer
1k views

I have looked at previous answers and none of them seem to solve my issue. I am running the below code from pyracing.client import Client import asyncio username = 'My Email Address' password = 'My ...
Raul Gonzales's user avatar
0 votes
1 answer
137 views

I have a main Window that opens a second Window. In this second Window I have many custom UserControls generated in runtime that work just fine. But a group of custom UserControls are declared in the ...
Fran's user avatar
  • 19
0 votes
0 answers
62 views

Hi I'm trying to modify the .NET runtime from github.com/dotnet/runtime. I downloaded the release from that github repository website. Then, you extract the files to C:\rt. Then run .\build.cmd -s clr+...
Erik343's user avatar
  • 343
1 vote
0 answers
121 views

I've successfully installed Python on SQL Server and was able to run simple Python scripts through SSMS without any issues. However, after importing additional libraries (such as matplotlib, etc.), I ...
sahab ebrahimi's user avatar
0 votes
1 answer
74 views

I wish to resolve the following code, but Rust panics because the actix future server() does not implement the trait Send. I didn't find a way to paralelize the actix server whithout error. use tokio::...
rabolon's user avatar
  • 11
1 vote
1 answer
185 views

This question is just about developing with Angular in my local development. Currently, we're using build-time configuration. When developing locally on my laptop, if I need to point to any other ...
JL Gradley's user avatar
  • 2,093
1 vote
1 answer
212 views

My team has designed an antibot for a project and now I am testing its vulnerabilities. I have created a antibot solver bypass using some python and javascript. I am running into a super weird run ...
Ahmed Zaidan's user avatar
1 vote
0 answers
17 views

I'm currently exploring a couple of statistical forecasting methods. My problem rose when using VARMA(2,1) fixed window rolling forecast. The example code that I'm using is the following: Here I only ...
Silvio Klenk's user avatar
2 votes
1 answer
150 views

I found this question about the difference between .a and .so files First Linking the dynamic libraries: One answer says: The advantage of .so (shared object) over .a library is that they are linked ...
FOXDeveloper's user avatar
0 votes
1 answer
109 views

Here is my code to see if names from modified_sn exist in modified_assigned_to_path (when I hit run, nothing happens, and I don't get any errors either. What am I doing wrong? Thanks in advance): ...
Iaj's user avatar
  • 1
0 votes
1 answer
189 views

I am following a book on Java 'Java: The Complete Reference, 11th Edition" which has the following code class ExecDemoFini { public static void main(String args[]) { Runtime r = ...
Mrinmoy Sadhukhan's user avatar
0 votes
1 answer
109 views

i am solving some leet code solutions. But with this hard question, i am not sure how to speed up my algorithm more. https://leetcode.com/problems/minimum-obstacle-removal-to-reach-corner/submissions/...
MaxH's user avatar
  • 75
0 votes
1 answer
146 views

I'm working on an Android app using Jetpack Compose where users can customize their own screen layouts to create a native-feeling UI. The layout structure is completely dynamic — at runtime, based on ...
Rohan Pande's user avatar
0 votes
1 answer
142 views

I've developed a C program on Turbo C++; however, it glitches out once the program begins. I think it's most likely a runtime error, but I'm not entirely sure nor do I know how to resolve the issue. ...
LongSleevesssowo's user avatar
0 votes
0 answers
46 views

I am trying to run the following code: for ie in range(100): energy = torch.tensor([.1 + .1 * ie], dtype = torch.float32, requires_grad = True) xe = .5 + 20 * (torch.log(energy) - log_01) / (...
Noyanini's user avatar
0 votes
1 answer
105 views

I have a weird issue with reading a property on Android R. While it works when I use the Runtime() exec call, it fails with a simple getProperty() method. Any ideas what could be wrong? Runtime....
droid_dev's user avatar
  • 315
0 votes
0 answers
46 views

I am using Microsoft Access Runtime 2013 on two PCs, and I’ve set up trusted locations via the registry on both. On one PC, Access works as expected without any security warnings, but on the other PC, ...
Ron Nadali's user avatar
1 vote
0 answers
72 views

I noticed a strange phenomenon while benchmarking the performances of my conv2d functions that were created with NumPy. As the input size increases, there could be a input size threshold that would ...
Sun Bear's user avatar
  • 8,559
0 votes
0 answers
66 views

I have an ASP.NET Core 9 application running as a service. After the latest upgrades of nuget packages, the application crashes periodically with a StackOverflow exception: I tried to reproduce it, ...
Franco Tiveron's user avatar
0 votes
0 answers
83 views

I am facing some issues in saving data on my runtime(temporary saving) in my adapter class of my bottomsheet for an invoice acknowledgement. Here is one photo explaining all the flow : Also I have ...
Sati Anshul's user avatar
0 votes
0 answers
168 views

Question revised. Goal: Import data contained in a tab delimited flat-file database .txt file Process: Open a .txt data file, retrieve the data into a collection, then close the file. If the table ...
daver5481's user avatar
2 votes
1 answer
68 views

I am trying to write a method, MouseLookFirstPerson(), to control camera orientation with mouse axis input. From what I can gather, the most common basic way of preventing the camera from inverting ...
Nicole's user avatar
  • 45
-2 votes
1 answer
114 views

I'm working in a card game. where I want the cards to have generic upgrades that could be applied to any card. My cards have a Play() function, and I would want upgrades like Whenever you play it ...
Eric111's user avatar
  • 55
0 votes
0 answers
30 views

I am trying to replace VC2010 default runtime calloc with my own implementation of calloc I tried this code but my program still uses the default VC2010 calloc void* calloc(size_t num, size_t size) { /...
photonepoch421's user avatar
0 votes
0 answers
59 views

I am experiencing an issue with VS2019 and Crystal Reports 2020 while running Runtime Version:4.0.30319.42000. We currently have to open VS2015 to add the newly created Crystal Report in order for the ...
Unconquered82's user avatar
3 votes
2 answers
103 views

I want to shuffle an array of Objects in a card game simulation. I scrolled through many posts on here and almost all of them mention transforming the array into a list, then shuffling it using an ...
Only_Maxi's user avatar
0 votes
1 answer
65 views

I have a statement in mind that I cant seem to verify that its a true statement or not. That statement is: If there is a standalone program written in a compiled language, say C, which does no memory ...
user avatar
9 votes
2 answers
587 views

Checked Exceptions are powerful because they allow you to force the use-site to deal with an exceptional case. If the use-site does not handle an exceptional case (or publically announce that they are ...
davidalayachew's user avatar
1 vote
0 answers
169 views

We track go runtime memory consumption using prometheus and grafana. Recently we found that go_memstats_buck_hash_sys_bytes metric constantly increases. It is a gauge so we expected it would increase ...
Dzmitry Y's user avatar
-2 votes
4 answers
96 views

I have two classes: a non-generic base class Node and a generic derived class Node<T>. The nodes build a chained list, each node containing eventually a different data type. public class ...
SharpAttempt's user avatar
0 votes
0 answers
54 views

I'm trying to create a c# windows form that has a simple task which is to display two separate browsers each one has its own server proxy, but no matter what I do I get this error: "System....
ali-1997's user avatar
0 votes
0 answers
38 views

I can profile and visualize my entire application with: python -m cProfile -o program.prof my_program.py snakeviz program.prof Is it possible to write a decorator that will profile only some ...
Ohumeronen's user avatar
  • 2,146
0 votes
1 answer
525 views

I want to load an external library (eg:\Lic\64bit) which contains some DLL files inside it to JVM at runtime. Can't use Reflection and FFM (Java Foreign Function Memory API) as well. I tried with some ...
Anjana's user avatar
  • 1
1 vote
0 answers
106 views

I'm constructing a graph with ~10000 nodes, each node having metadata that determine which other nodes it will be connected to, using an edge. Since the number of edge possibilities (~50M) is far ...
me9hanics's user avatar
  • 395
0 votes
0 answers
28 views

I was solving the Substring problem using KMP Algorithm (Problem link). After getting runtime error (SIG_SEGV) several times, I just removed the following part: ios::sync_with_stdio(false); cin.tie(...
fairooz ahmed's user avatar
0 votes
0 answers
42 views

I have created a network of nodes in OMNet++. I have defined in Network.ned: visualizer: <default(firstAvailableOrEmpty("IntegratedCanvasVisualizer"))> like IIntegratedVisualizer if ...
Nishani Kasineshan's user avatar
0 votes
0 answers
18 views

I am solving the following problem: solving an advection-diffusion equation through the analytical solution. The standard problems work well, however when I compute the time integral for big ...
Corn25's user avatar
  • 1
1 vote
1 answer
106 views

I'm using amplify to push my lambda. When I run it locally via amplify mock function {functionName} it runs and behaves as expected. When I deploy using amplify push it successfully deploys. However ...
toddmetheny's user avatar
  • 4,472
2 votes
1 answer
133 views

I am trying to interop with nethost.dll but it keeps returning a non-zero integer which indicates failure. I am not very familiar with native interop in C# so I am having a hard time diagnosing the ...
Kevin-Duel Trimble's user avatar
-1 votes
1 answer
177 views

I have to make a WPF apllication which adding a task to Task scheduler. So I decided to write a program which compiling cs file and add its exe to Task scheduler (I tried Microsoft.CodeAnalysis.CSharp....
Adrian Przemysław Drozdowski's user avatar
1 vote
1 answer
166 views

I'm dabbling in Cyber Security, particularly the topic of buffer overflows. To this end, I'm considering an example in which a buffer overflow allows an attacker to execute arbitrary code from within ...
R. Hahnemann's user avatar
0 votes
2 answers
202 views

Most knows that template meta programming is in general faster than virtual dispatch in C++ due to types of templates were decided in compile time while virtual functions required runtime lookup on ...
bedman3's user avatar

1
2 3 4 5
158