Questions tagged [system]
System may refer to a set of interdependent components; Low level infrastructure like the operating system (from a high language point of view) or an object or function for accessing the previous
4,661
questions
-1
votes
0
answers
8
views
I want to display the date in input when A user click the book now in my reservation calendar
`enter image description here
I want to display the value when the user click book now in my input field however I'm getting undefined variable
This is my code:
$calendar.="<td class='$today'&...
0
votes
2
answers
31
views
None of the lines after calling the "system()" function is running
After the line "command(system)", the next lines are not running. A new file "test1" is created but the next lines do no execute.
Using my linux Ubuntu terminal, I am trying to ...
0
votes
0
answers
22
views
php system python script [duplicate]
From PHP which interact with the VPS I can do:
$command = '/usr/bin/python3 say_hello.py';
$command = escapeshellcmd($command);
system($command);
with say_hello.py :
#!/usr/bin/python3
print("...
-1
votes
0
answers
18
views
DVE report Constraint large array size warning
When I practice AHB-APB brige verification I use the constraint as below :
class ahb_mst_burst_seq extends ahbl_mst_basic_seq;
`uvm_object_utils(ahb_mst_burst_seq);
function new(string name=&...
0
votes
1
answer
23
views
Download different types using blob in angular
I already wrote code to save PDF files in Angular but when I try to save the jpg image format it not showing download option. Why?
downloadfile(type: string){
let thefile = {};
this.pservice....
0
votes
0
answers
9
views
I can't seem to 'fully' install node js nor can I uninstall it. Few apps also have same issues. Using windows 11, 64-bit
I can't use node js. everytime i try to 'modify' or 'uninstall' it or some of my apps, this error pops up saying "Windows Installer Service could not be accessed. This can occur if you are ...
-6
votes
0
answers
28
views
please i need the answer of this question [closed]
The following question is on my test review for Operating Systems but I don't know how to answer it. I would give a first attempt at them problem but I really don't know how to start it either.
Given ...
0
votes
1
answer
23
views
Why does my non-linear regression system give poor validation results?
I am trying to identify a nonlinear system. This system is a differential drive AGV. Somehow the motion equations I found in a paper and the one from Simulinks Mobile Robotics Toolbox don't fit at all ...
0
votes
0
answers
10
views
System UI keeps stopping error on lock screen
System UI keeps stopping in the lock screen. the screen turns black on its own available actions sound profiles and power menu. I can’t look at the log, I don’t know where to look at the system log in ...
0
votes
0
answers
16
views
Check for system audio volume changes
I want my python app to react when the system volume changes (either by user input or by the system itself).
I know one way to do it is using the pycaw library and put the GetMasterVolumeLevelScalar ...
0
votes
0
answers
12
views
Display popup on the SIM phone call
SHOW POP UP ON THE PHONE CALL SCREEN wen a detected a sim call phone
Is it possible to display a popup on the interface of a SIM phone call with a cross-platform without the need for an API? In this ...
0
votes
0
answers
56
views
How can I fix 'No module named dnf' error after downgrading from python3.11 to python3.10 on Fedora 37?
dnf broken after downgrading from python3.11 to python3.10 on Fedora 37 x86_64.
It says
File "/usr/bin/dnf", line 61, in <module>
from dnf.cli import main
ModuleNotFoundError: No ...
-1
votes
0
answers
11
views
Troubleshooting Bootmgr is missing
bootmgr is missing windows 7,8,10
Disconnect the system inputs such as: mouse, headphones, USB, LAN cable, etc. Then go to the drives and if you have more than 1 memory drive, disconnect the power ...
0
votes
0
answers
14
views
How to delete potential malware files in sbin/bin system directory on Mac M1?
I found two very dubious kexts (kextload and kextutil) by checking my login items on my m1pro macbook. I deactivated them but would still like to know how to delete them for good, since they do not ...
0
votes
0
answers
16
views
How to create a system dynamic model formula using AnyLogic? for System dynamic model with delay, the model is attached
enter image description here
Please help with System dynamic model formula for on the attached picture. AnyLogic is used to for simulation.
I am struggling with the creation of formulas as this is my ...
-1
votes
0
answers
8
views
How to download adobe products after deleting system files
I accidentally deleted some system files and now can't download any Adobe products (premiere pro, illustrator, etc). I have downloaded these apps before and they ran fine but i think because i deleted ...
0
votes
1
answer
40
views
The flag of system function open() :O_DIRECT undecleared when I compile the code
but when I add #define _ _USE_GNU 1 it works,I wonder why it works? and why I only add the header <fcntl.h> it does not work? I am a primer in Linux programming, and where I can learn such ...
0
votes
0
answers
7
views
Issue with Calculating Course Activity in a Learning System
I have recently encountered a problem while implementing a learning system where I need to determine the activity of different courses based on student submissions. I have written code to calculate ...
-2
votes
0
answers
15
views
System Optimization
Find the effective access time for a system with a main memory access time of 300 ns supported
by a cache having a 40 ns access time and a hit rate of 97%. The page fault rate of the main memory
is 5%,...
1
vote
0
answers
23
views
How to set application as service which can start at the boot of the system in installer it self
I am creating an installer for Mac and Windows using the commands:
jpackage --name Test --input . --main-jar test.jar --type msi --mac-package-identifier com.test.Main
jpackage --name Test --input . -...
-1
votes
1
answer
27
views
YAML templating system - how based on env variable determine what the variable contains
I want that by env variable (string) the varb_letter will get different data from my metadata.
here is what I tried to do.
Can u assist?
thanks!!!
varb_letter: (( env("LANDSCAPE") == 'a' ? ...
-1
votes
0
answers
37
views
How can i see the result from babyagi. It keeps running non-stop
Does it really work, if i use to create an task management system by using babyagi? Or actually chatgpt will be more useful based on this project?
I've try babyagi but it keeps running non-stop till ...
1
vote
0
answers
48
views
Solving a ODEs: Modeling a physical system with equations of motion
im quite new at this world, actually I came from physics and found the need of learning a little bit of python to grow my level... I´ve been coding this for days to solve this system of equations to ...
0
votes
0
answers
16
views
Move files/entire folder in Matlab for non static source folders and .wavs files
I have to move multiple files or the entire folder from a user-choosen source folder to a destination folder, which could be fixed.
The point is that that those files are non .txt files but .wavs, ...
0
votes
0
answers
6
views
why it will cost 60 seconds run every sudo command [migrated]
After the last system update on my centos, it will almost cost 60s for every command when I use sudo or even login as root.
I use strace sudo ls to see what happened, here is some key log
mprotect(...
0
votes
0
answers
23
views
Could this be blocking Pcs remotely returning information or have i dont something wrong?
$computers = Import-Csv “C:\Temp\computers.csv” | ForEach {
$computerSystem = Get-WmiObject Win32_ComputerSystem -Name $_.Name
$computerOS = Get-WmiObject Win32_OperatingSystem -Name $_.Name
...
0
votes
0
answers
40
views
abnormal loading after booting from an emergency mode in linux parrotOS
so after around 1 year, i finally got to change keyboard for the unused laptop, the laptop OS is parrot, when starting, the system show the 'emergency mode' =
Welcome to emergency mode! After logging ...
0
votes
0
answers
23
views
How to override System Status Bar Tiles (Wifi, Bluetooth, Data and Location etc) with custom icon and colored background etc?
I am working on application wherein I want custom quick setting features, i.e. custom icon with improved UI and background color along-with gradient background of the quick setting tiles to override ...
1
vote
1
answer
58
views
Getting ProcessorInformation from CallNtPowerInformation()
Formerly, I was able to get the current cpu core frequencies in Windows 10, using this call:
const NTSTATUS gotinfo = CallNtPowerInformation
(
ProcessorInformation,
NULL,
...
0
votes
1
answer
22
views
I can not find -no-auto-rehash config in system varaibles
i am trying to find if auto rehash is enabled or not basically trying to find -no-auto-rehash is applied to DB or not. how can i check that.
I tried looking in all system variables but can't find that
0
votes
1
answer
39
views
Memory leak that occurs when parsing commands separated by pipe(|)
I'm writing a shell with C.This shell max receives and executes the command separated by 20 pipes(|).The commands work smoothly, but when I do a memory check with Valgrind, I get the output as follows ...
0
votes
0
answers
14
views
recode system missing value into same variable in SPSS
I'm trying to recode system missing value into the same variable in SPSS, the variable is a date and the format is dd-mmm-yyyy. (mmm is for example Aug or Feb etc) So what I did was: Transform > ...
0
votes
0
answers
14
views
How to resolve the Problem in the increase n vram?
Yesterday my big brother added a file in the registry of the
Laptop to increase the vram to play wwe 2k 16 by following some tutorial on the internet, at the last step it was asking for the memory in ...
0
votes
0
answers
228
views
microsoft.mashup.container.loader.exe blocks deleting file
I've faced the problem with deleting file by VBA
My code imports a text file, then close the import table and deletes this text file to pick another. This code was working for about a year ok, but ...
-2
votes
1
answer
41
views
System.NullreferenceException for String split function [duplicate]
I am new to C# and modifying my first big program. I keep getting the following and and I am unsure how to New it up your help would be greatly appreciated
baseErrorCodes = New List(Of String)()
Dim ...
0
votes
0
answers
24
views
Spy on the sounds inside the Window 10
I want to spy on the sounds inside the system (windows 10), and if the sound exceeds 250Hz, do something,
how can I do that with python?
I tried to search for it and found the recording of the ...
1
vote
0
answers
63
views
windows app running with system process behaves differently compare to PsExec tool
I am working on one electron app. Electron app has child node js process which capture desktop stream using ffmpeg tool. To capture winlogon stream, I have used setThreadDesktop API in child process ...
-1
votes
1
answer
76
views
Difference between valgrind and system("leaks a.out")
In the C language, memory management and memory leaks are among the most confusing topics in my opinion. The most commonly used method to control this is valgrind. However, Mac computers are used in ...
0
votes
0
answers
18
views
How do I take input from the user and save it in a MongoDB collection in a .mongodb File? (JavaScript)
I'm making a (sort of) Signup-Login system and I need it to save the credentials for later login (I don't even know how those systems work but I think it's like that) I use VS Code (not mongo shell or ...
0
votes
1
answer
23
views
Best way to run a function iteratively on file pairs from large dataset stored on permanent Dropbox link
I have a very large permanent Dropbox link which has 6 folders in it. Each folder has the following file organization (I specified the organization for Folder 1 only where - represents a folder and *...
1
vote
1
answer
46
views
How to run 'msmtp' mail command in PHP system()?
My server don't have 'postfix' to send mails from 'sendmail'.
Instead, I use 'msmtp' and 's-nail' shell commands.
It works well from interactive shell ('bash').
I try to send mail from PHP, but I don'...
1
vote
1
answer
381
views
k8s port-forward lost connection to pod
I use port-forward to expose my service frontend as follows:
kubectl port-forward -n hotel-reserv svc/frontend 30096:5000
After that, I use a workload generator (i.e., wrk2) to send requests to http:/...
0
votes
0
answers
19
views
System programming in the Unix environment
I'm stuck in exam and I need help.
The questions are :
Mod 21 = 15
VARIANT 15
Pathname (types of pathnames, interpretation of components).
Loading a new program (what happens with file descriptors).
...
0
votes
1
answer
61
views
System.setProperty in JUnit testing
I am trying to invoke a IO Exception for the createTempFile method of the java.io.File class for one of my test cases.
I have figured that one way to do so is to set the Property value for a single ...
0
votes
0
answers
15
views
Is servicing page faults accounted as system CPU time in Linux?
In other words, the time spent servicing page faults does end up in ru_utime or ru_stime when calling getrusage?
0
votes
3
answers
90
views
With perl open, how can I capture bash STDOUT & STDERR without printing to disk?
The perl script below invokes unix find using
the open command.
STDOUT goes into the CMD filehandle and
STDERR, if any, goes into a temporary file on disk.
STDERR will result if the user makes a ...
0
votes
0
answers
42
views
R always returns error 127 when using shell()
I'm sourcing a code that need to execute an .exe file that runs a retrospective analysis for a stock assessment model.
it is when my loop reach following piece of code that it gives an error message.
...
0
votes
0
answers
25
views
What is the actual data size being transferred over network for a Python empty string?
I realized that Python3 creates an object of 49 byes for an empty string:
>>> print(sys.getsizeof(''))
49
But I assume when we send the encoded data, the length is 0 yet the size is 33:
>&...
0
votes
0
answers
88
views
issue running command using system or system2 in R
Not my area of expertise, so apologies in advance. I am trying to run a command through system2() in R
The "planet" command (python program) works fine when typed directly in CMD:
F:\>...
-1
votes
1
answer
88
views
Maple is left ''evaluating'' when using the solve command on the following equation
I have used the code in the image, when compiling the entire sheet, it stays in "evaluating" for several hours. Is there a way to speed up the process or fix this problem?
Maple code: https:/...