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
7
votes
3 answers

Sybase - Setting console output on for printing log statements

Does somebody know how to turn the console output on in Sybase. The usual statement like print 'Hello', is not working for me, it just says command executed successfully without printing the log statement.
Gaurav
  • 1,570
  • 4
  • 20
  • 25
7
votes
4 answers

Download a file built in PHP output buffer from AJAX call

I am trying to build a CSV file in PHP, then call the PHP file from an AJAX call, which will then initiate a download of the CSV file upon success of the AJAX call. This works fine if I save a physical copy of the .csv on the server, but I would…
Das.Rot
  • 638
  • 4
  • 11
  • 25
6
votes
1 answer

Weird output when printing `NaN` with std::cout and a changed locale

I am currently trying to build a simple console calculator in C++ and was thinking about what to do when the user types 0/0. In my calculator I convert each number from the users input to a double and therefore get the division 0.0/0.0 which should…
Joel
  • 721
  • 1
  • 13
6
votes
1 answer

How to apply CSS style to Quarto output

I would like to apply a style to Quarto chunk output. The first thing I made was to embed some CSS properties in a class .output in the Quarto document and then referenced it with : ```{r class.output="output"} ``` It worked, but I think it's not…
6
votes
4 answers

Webpack 5 {output: chunkFilename} not working

Currently I am migrating some boilerplate code from Webpack v4 to v5 and I am stuck with the produced output. In my webpack config, I use single-file entry & the splitChunks option to separate the game code from the libraries I am…
Yordan Kanchelov
  • 511
  • 9
  • 26
6
votes
3 answers

How do I get a dataframe or database write from TFX BulkInferrer?

I'm very new to TFX, but have an apparently-working ML Pipeline which is to be used via BulkInferrer. That seems to produce output exclusively in Protobuf format, but since I'm running bulk inference I want to pipe the results to a database instead.…
Sarah Messer
  • 3,592
  • 1
  • 26
  • 43
6
votes
2 answers

How can I test the length of all the characters in a list and adjust the location of Output( based on the length?

I wrote a program to roll stats for D&D 5e characters. It rolls 4d6 and drops the lowest and adds that value to a list. It repeats this for a total of 6 times and then outputs the result to the screen. I want to be able to center the output so it…
6
votes
1 answer

How to prevent inputs being flushed into output?

I'm on Ubuntu. When I run ghci on Terminal and do this: Prelude Control.Monad System.IO> forever $ getChar >>= print The result is something like this: a'a' b'b' C'C' %'%' \'\\' 1'1' ''\'' "'"' ^X'\CAN' ^?'\DEL' ^CInterrupted. That is, the…
Dannyu NDos
  • 2,458
  • 13
  • 32
6
votes
2 answers

AttributeError: 'ShuffleDataset' object has no attribute 'output_shapes' - when following TF tutorial

I have been working through the TensorFlow tutorials on their website. In the Text Classification with RNN exercise, I encounter this error. I have attempted to a few changes, and have also copy-&-pasted the code to receive the same error. Any…
Matt
  • 61
  • 1
  • 2
6
votes
4 answers

Is there currently a way to extract the output of a fastlane action within the fastlane actions?

I am using a third party fastlane plugin and it contains an action that will display vital information I need to capture, such as a link. I am trying to find an elegant way to capture these logs within the fastlane actions, I am trying to avoid…
nanci.drew
  • 125
  • 1
  • 8
6
votes
2 answers

How to suppress proxychains message

Note: this question is about proxychains not proxychains-ng. By default, proxychains output some message like the below. How can suppress this message? ProxyChains-3.1 (http://proxychains.sf.net)
Benjamin Du
  • 1,391
  • 1
  • 17
  • 25
6
votes
1 answer

report regression result using stargazer to add separate column for standard error

I am trying to use stargazer() to export my regression result. I wanted to be able to report both coefficient and standard error in separate columns see this pic here: However I can only get coefficient and standard error in the same row using…
pastabasta
  • 61
  • 2
6
votes
2 answers

How to write an anonymous function with a variable number of output arguments?

Using deal we can write anonymous functions that have multiple output arguments, like for example minmax = @(x)deal(min(x),max(x)); [u,v] = minmax([1,2,3,4]); % outputs u = 1, v = 4 But if you want to provide a function with its gradient to the…
flawr
  • 10,814
  • 3
  • 41
  • 71
6
votes
1 answer

How to implement a custom layer wit multiple outputs in Keras?

Like stated in the title, I was wondering as to how to have the custom layer returning multiple tensors: out1, out2,...outn? I tried keras.backend.concatenate([out1, out2], axis = 1) But this does only work for tensors having the same length, and…
Tassou
  • 439
  • 1
  • 5
  • 16
6
votes
2 answers

How to show hidden layer outputs in Tensorflow

I'm having differences of the outputs when comparing a model with its stored protobuf version (via this conversion script). For debugging I'm comparing both layers respectively. For the weights and the actual layer output during a test sequence I…
user3085931
  • 1,757
  • 4
  • 29
  • 55