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

Indoor map with route directions in android

I am trying to create an indoor map navigation in android studio for my thesis project in school and I'd like to know some basics or where should I start. I'm also planning to use images as a map with 8 floors in it unless if there's anything…
1
vote
2 answers

How to resolve the import System.Random?

I get the error that couldn´t find module System.Random and I tried to do Cabal Update ; Cabal Install Random and Cabal update --lib random, in Windowns, and it assumes the same error. I also have Ubuntu in a Virtual Box/Machine and I tried to do…
jxz
  • 41
  • 4
1
vote
1 answer

How to prevent R system command syntax error

I am trying to run a command similar to > system("cat <(echo $PATH)") which fails when run from within R or Rstudio with the following error message: sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0: `cat <(echo…
dertomtom
  • 179
  • 2
  • 6
1
vote
1 answer

how can I pass a parameter to the system function with quotes?

I'm trying to reduce columns of top funcion and save it into a file but I don't know how do it using system() function with quotes. I'm doing it like this: system("top -b n1 | grep \"^ \" | awk '{ printf(\"%s %s %s %s %s %s %s\n\", $1, $2, $8,…
1
vote
1 answer

How to rename file containing special characters in CMD/c++?

Today I'm struggling on a problem that was already half answered on other posts. Here is what I try to do in c++ using dos command through the system command: command = "s: && cd " + all_paths[i] + " && rename \"" + linestring + "\" \"" +…
Impact
  • 31
  • 6
1
vote
1 answer

Monitoring the System Log File via Bash Script

I am currently using the following to read the system log: journalctl -u | tail -n1 However I have a need to monitor the system log live, as changes come in (in a bash script), instead of just looping through the log file. What is…
Reboot
  • 11
  • 1
1
vote
1 answer

SYS_TICK handler function is not getting called after enabling flags in SysTick Control and Status Register

I'm using STM32F407G-DISC1 board, SYS_TICK handler is not getting called after enabling flags in SysTick Control and Status Register which is at 0xE000E010 memory mapped location. SysTick Reload Value Register value is set to 15999. void…
Teja P
  • 11
  • 2
1
vote
1 answer

How can I use implicit components to assemble a full system?

I'm working on a panel method code at the moment. To keep us from being bogged down in the minutia, I won't show the code - this is a question about overall program structure. Currently, I solve my system by: Generating the corresponding rows of…
1
vote
0 answers

Why R system is not able to execute hdfs commands?

I am trying to merge some .csv files with the hdfs dfs -getmerge /path/folderfile filename.csv command. If I run this command from a terminal or from rstudio's internal terminal, it works fine. If I execute the same command using system("hdfs dfs…
F_G
  • 11
  • 1
1
vote
0 answers

macOS app issue with Apple System Integrity Protection

I am working on a macOS app. The app is already live on the mac App store. Some of my users are reporting that they can not open the app. To find out the exact reason, I reached out to one of the user and asked him to start dtruss and then open app…
Ajay
  • 1,622
  • 20
  • 36
1
vote
1 answer

Mapping existing memory (data segment) to another memory segment

As the title suggests, I would like to ask if there is any way for me to map the data segment of my executable to another memory so that any changes to the second are updated instantly on the first. One initial thought I had was to use mmap, but…
Gecal
  • 31
  • 3
1
vote
1 answer

How to redirect output from System.out to JavaFx TextArea

I'm trying to create a simple app that allows me to redirect all System.out to a JavaFX TextArea within my app. For this, I created a CustomOutputStream class from the OutputStream class. Here's the code for it: //package name //imports public…
1
vote
1 answer

Stack space in WebAssembly (& WASI)

I'm writing small programs in WebAssembly text format (.wat). I've looked at Wasm code compiled from C and it looks like the common practice is to maintain a global stack pointer, and when we enter a function, to create a stack frame by subtracting…
Yage Hu
  • 11
  • 1
1
vote
1 answer

How can I resolve "The type or namespace name 'System' could not be found" errors in VS Code?

I'm using Visual Studio Code and .NET Core SDK 3.1.402, and trying to learn how to code C# (so I've got the most recent version of the extension downloaded. When I create a new project (using cmd, dotnet new console), I am immediately greeted with…
gyp
  • 11
  • 1
1
vote
1 answer

On Android Honeycomb how do I add option menu to the home bar at the bottom of the screen?

I'm On Honeycomb (3.1) and my first problem is that I don't know what is the name of the bar at the bottom of the OS (appears in every application). I've seen some apps add options to this bottom bar (it has by default the back button the home…
aarelovich
  • 5,140
  • 11
  • 55
  • 106