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

The system tag is used for referring to the operating system, or functions thereof, when accessed from a higher-level language.

Many high-level languages offer access to the features of the system by an object or function called system itself. Questions regarding these objects might as well be tagged with this tag.

In normal English, a system is a set of interacting or interdependent components forming an integrated whole or a set of elements (often called 'components' ) and relationships which are different from relationships of the set or its elements to other elements or sets.

4678 questions
1
vote
1 answer

How do I solve the clips error to construct a rule?

I´m using for firts time clips to create a rule based guideline in clips. (deftemplate personal-data (slot name) (slot age) (slot gender) (slot personal_history_breast_cancer) (slot previosly_diagnosed_high-risk_breast_lesion) …
1
vote
0 answers

MATLAB: Error using symbol array in my system of ODEs

syms L(t) [1 n]; syms M(t) [1 n]; syms massbal_tray [1 n]; massbal_tray(1) = diff(M(1),t) == L(2)-L(1); I want to use the above code so I can create a system with n ODEs, but I need to treat the first equation differently. I plan to do the rest in…
1
vote
1 answer

How to include adjustable parameter in fsolve?

I'm getting familiar with fsolve in Python and I am having trouble including adjustable parameters in my system of nonlinear equations. This link seems to answer my question but I still get errors. Below is my code: import scipy.optimize as so …
t.o.
  • 832
  • 6
  • 20
1
vote
0 answers

How to change Android system settings via Kotlin?

I have the following code to change the system accent color: fun sendMessage(view: View){ val cr = applicationContext.contentResolver putInt(cr, "accent_color", "-8270158") } And canWrite(applicationContext) returns true. My Manifest.xml…
1
vote
0 answers

MacOS Big Sur edit the image in this folder: System/Library/Desktop Pictures/Big Sur Graphic.heic

need to help a client change this image he has cataracts and can't see well. plz help. If i knew how to mount and edit the system drive that would do it
1
vote
1 answer

How do I use Python to kill a process that has run out of memory?

I am trying to kill a process on windows with its PID using os.kill(pid, 9) This generally works. Sometimes, however, the process has crashed due to an OutOfMemoryError exception while it was running. This makes the entire UI of the process freeze,…
J. Grohmann
  • 391
  • 1
  • 6
  • 15
1
vote
0 answers

Does a process know whether a system resource is used by other process? How can I cleanup the system resource safely?

The question comes from: RAII and system resource cleanup Actually cleanup system resource is hard. In my mind, a process can't "know" whether a system resource(file, message queue, semaphore, shared memory) is used by other process or not. If it's…
zhenjing
  • 145
  • 1
  • 7
1
vote
0 answers

[Android system/framework -> system/system_ext/framework]How to deal with adding to system_ ext's jar package

The jar package I customize on Android 10 is stored in system/framework.In order to adapt to the modification of system partition, jar is moved to system_ ext. The previous configuration is as follows. PRODUCT_PACKAGES +=…
fkq
  • 11
  • 1
1
vote
1 answer

How to Switch between writing to file and printing in C

Description I am trying to make a basic application in C which works in the terminal. My goal is to write a code that prints some outputs in file with dup2(foo, STDOUT_FILENO); some outputs to the terminal. The problem is ı couldn't understand how…
SnoopyDog
  • 33
  • 9
1
vote
1 answer

is it possible to have an array of semaphores?

I am working on the dining philosophers problem, and I am attempting to create a way to keep track of the shared recourse (the forks). So my thinking is to create an array of semaphores, and that way when i have to fork off i can keep track of the…
itsMe
  • 51
  • 7
1
vote
1 answer

How do I create class diagrams from Use Cases?

I am coming from the Embedded Systems domain with more than 3 years experience. In my current project, at the beginning, I was only responsible for only software development and the Team consisted of 3 people. But, as time passes, hardware eng. and…
IHK
  • 23
  • 5
1
vote
1 answer

Android 7+ problem to install apk through "pm install..." using Runtime.getRuntime().exec from system app

Im installed apk into /system/priv-app folder in my Android 7.1.1 emulator so it works as privilege system app but when when I try to install apk using this code of my app val runtime = Runtime.getRuntime() val process = runtime.exec("pm install -r…
1
vote
4 answers

Using System.getProperty as a condition

Is it OK to use xxx.equals(System.getProperty(key)) as a condition? Or Am I supposed to use the properties for some other purposes? I have been reading…
user793623
1
vote
0 answers

How to run Gem5 system emulation with Golang program

I am trying to run Gem5 system emulation with a binary I compiled from a Golang program. I am using X86 O3CPU and classic memory. However, I have to launch the same process on 3 cpus to have the system emulation set up. Otherwise I will receive…
1
vote
1 answer

Basic queue management system

I wanna create queue management system (for bank, hostpital...) Something like that There will be 1) Server side pc with touch screen monitor 2) Standard or led display for displaying current number in queue 3) Client side pc's for controlling…
Tural Ali
  • 22,202
  • 18
  • 80
  • 129