Questions tagged [output]

The externally observable consequences of calling a program on some input

The output of a program is the set of externally observable consequences of running a program on the given input.

A program's output can be manifested in several forms:

  1. What is printed to and/or
  2. What is written to an external file
  3. What changes are made to the inputs, which are then used in other functions or programs
9797 questions
5
votes
1 answer

R sink() message and output to same file - sanity check

I'm using R's sink() function to capture errors, warnings, messages and console output into a single text file. I'm wondering if simultaneously sinking both message and output types to a single open file is bad to do? I capture all of the above into…
dooboze
  • 81
  • 8
5
votes
2 answers

Could not get unknown property 'instantRunManifestOutputDirectory' for task ':app:processDebugManifest'

I keep getting the error "ERROR: Could not get unknown property 'instantRunManifestOutputDirectory' for task ':app:processDebugManifest' of type com.android.build.gradle.tasks.ProcessApplicationManifest. " under gradle sync issues ever since I…
Axes Grinds
  • 756
  • 12
  • 24
5
votes
2 answers

When to use @ViewChild, @Input and @Output?

When to use ViewChild, Input and Output? As one can achieve all the properties of class using ViewChild then why to use Input and Output. In simple scenario Input and Output is best. But I have 4 to 5 levels deep hierarchies of component. In that…
Ashish S
  • 638
  • 6
  • 14
5
votes
1 answer

How I can create multi ouput folders into the "/dist/" folder - Webpack

In the destination directory (/dist/) I would like to create three directories with IMAGES folder, CSS folder, JS folder, multi output directories similar to the following screenshoot: My current entry looks something like this: My…
Webfer
  • 152
  • 2
  • 8
5
votes
1 answer

webpack - weird console messages (output served, 404s will fallback, content not from webpack is served ... etc.)

After bundling in development mode, I get these messages in console: webpack output is served from / i 「wds」: Content not from webpack is served from C:\projectName\dist i 「wds」: 404s will fallback to /index.html In webpack.dev.config.js I…
user3681549
5
votes
2 answers

Optimal reentering the ngZone from EventEmitter event

There is a component that encapsulates some library. In order to avoid all this library's event listeners' change detection nightmare, the library is scoped outside the angular zone: @Component({ ... }) export class TestComponent { @Output() …
smnbbrv
  • 23,502
  • 9
  • 78
  • 109
5
votes
1 answer

How to Print in Python 2.7 without newline without buffering

I have a need in Python 2.7 to print text to the console without newline characters, so I can continue writing more text on that same line later with future code. My current implementation involves importing the Python 3 print function from the…
Will
  • 677
  • 3
  • 11
  • 21
5
votes
1 answer

Formatting java strings with system.out.printf

I've been looking around at a lot of questions about the System.out.printf in java for formatting string outputs and I just don't seem to understand how to use it. I'm trying to print nice columns that looks like this 601 GoPro Hero5 Black …
user4780727
5
votes
0 answers

Keras: feed output as input at next timestep

The goal is to predict a timeseries Y of 87601 timesteps (10 years) and 9 targets. The input features X (exogenous input) are 11 timeseries of 87600 timesteps. The output has one more timestep, as this is the initial value. The output Yt at timestep…
Astrid
  • 351
  • 1
  • 15
5
votes
1 answer

C++ program stops producing console output upon input to the console

I have a C++ program (MSVC 2017) which constantly outputs debug information via std::cout. However sometimes when I physically interact with the console (e.g. click on it accidentally) it stops producing output. Meaning that there's just nothing…
5
votes
1 answer

How to force npm bin -g to print only the path

Task I want to use the path returned by npm bin -g in a script. Problem npm bin -g returns the path then also prints to a new line that it isn't part of PATH env variable: /home/username/.npm-global/bin (not in PATH env variable) To make it even…
totymedli
  • 29,531
  • 22
  • 131
  • 165
5
votes
2 answers

Why is cout outputting immediately?

cout is a buffered stream. This means that the data will be written to the buffer and will be printed when the stream is flushed, program terminated or when the buffer is completely filled. I made a small program to test how this works, but I don't…
5
votes
1 answer

what is the nagios performance data format

I am looking for a spec or an example of how to format the Nagios performance data. This documentation does not provide any good examples I am looking for an explanation on how to create a table like this in Thruk / Nagios output. Raw Data…
nelaaro
  • 3,006
  • 5
  • 38
  • 56
5
votes
2 answers

Stopping Continues Testing recompilation stealing cursor in Visual Studios 2017 and Resharper

I have just started out on my journey to learn TDD with C# and to help me I have started using Reshaper 2017.1.3 Continues Testing tool to re-run all my tests that are affected by my modifications upon saving. I was hoping this would be a seamless…
user4476264
5
votes
1 answer

Python Script Open and Write into Terminal

I have a Python script on my Raspberry Pi 3 Model B (OS NOOBS) that when run, logs the temperature of the CPU into a .csv file every minute. What I'd like to know is how can I, from a Python script open a terminal and output the temperature in the…
Jocke
  • 73
  • 1
  • 7