Questions tagged [output]

The externally observable consequences of calling a program on some input

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

How to suppress all the output except explicit Write-Host [duplicate]

How to suppress all the uninvited output? I recently started coding on PS and this obsessive ubiquitous output everywhere drives me crazy. I have to spam | Out-Null, [void] all around the codebase ...
MegaBomber's user avatar
0 votes
1 answer
32 views

How do I get a Proc Compare output that ONLY shows the differences between obs as well as the actual observation taken from both the BASE and COMPARE?

I want to create a dataset that shows the values produced by OUTBASE and OUTCOMP but only for observations with unequal values. Is there a way to do this? So essentially I am trying to have 3 rows for ...
morgandow's user avatar
0 votes
1 answer
42 views

ADF/Web activity - Variable output issue

I'm trying to send the output of a variable with a Web activity, but I keep getting an error message saying, "After parsing a value, an unexpected character was encountered." I have two ...
mkn's user avatar
  • 11
0 votes
0 answers
17 views

grep in .txt for specific characters, interpolate lines where those characters are found, write result to .txt

Thanks to those who pointed out that grep doesn't work well on entire data-frames. I'm now working directly with a txt file, Test.txt, and have another question... The contents of Test.txt look like ...
hall_damien's user avatar
-1 votes
1 answer
27 views

How to use gst-rtsp-server correctly, the official example has bugs

I want to use gst-rtsp-server to output opencv's image as rtsp video stream. I want to start from the official code of gst-rtsp-sever, its url address is: https://github.com/GStreamer/gst-rtsp-server/...
tms2003's user avatar
0 votes
0 answers
6 views

Why isn't Eclipse-IDE console showing 'Pass: 2' in TestNG test output?

In my Eclipse-IDE console, after executing TestNG test, why I am not getting 'Pass: 2' result in below line in console. Total tests run: 5, Failures: 2, Skips: 1 Here is my output in console [...
Vivek Sirsath's user avatar
1 vote
4 answers
47 views

How would I output part of a text document if I define a starting line and an ending line in C#?

I have a text document containing several different paragraphs of information. An excerpt of this file is included below, along with what I would like to use as the first and ending lines. INCH TO ...
Matt Croft's user avatar
1 vote
1 answer
34 views

Inside an always@(posedge clk) block, having a nested for loop, how do we output for each and every values of i and j?

Code integer i,j; //Luma always @(posedge clk) begin for (j=0; j<16; j=j+1) begin for (i=0; i<16; i=i+1) begin Y_pred_h = (16-1-i) * Y_ref_buffer_left[j] +...
Sunil.B's user avatar
  • 27
0 votes
0 answers
9 views

Unclear sequence of constructor calls fro two objects

Check of when an constructor being called for two different objects. Unexpected constructor call (unclear sequence) #include <bits/stdc++.h> using namespace std; class Geeks { public: ...
Dennis1234's user avatar
1 vote
1 answer
26 views

How can I use @Output and ngModel together in Angular? Getting 'Argument of type Event is not assignable to parameter of type Interface_name' error

*Argument of type 'Event' is not assignable to parameter of type 'Interface_name'.* Hi, i am learning how to use @Output decorator on Angular. I know that i must use it to send information from child ...
Joaquin Ibañez Lopez's user avatar
-1 votes
2 answers
44 views

Printing a function that prints with ('around', 'each', 'text', 'and', 'variables') [duplicate]

Here is my code: def icecream(): cost = int(6) flavor = input('What flavor would you like? => ') return 'The', flavor, 'will cost', cost, 'dollars.' print(icecream()) then after ...
SorryBoutThatEh's user avatar
0 votes
0 answers
36 views

How can I capture the output of an nslookup command over ssh in Python?

Hi am am automating nsupdate but I want to check if a domain exists before inserting it. It if exists I want to give a warning. The problem is that I can't seem to capture the output of a single ...
the Bukkit Developer's user avatar
0 votes
1 answer
32 views

Passing object variable as @input to an angular custom element and bind a method for the @output event while adding the web element to summernote

I have been using ngx-summernote as my rich text editor. Now, for my project purpose, i will need to insert out custom angular component dynamically to the rich text editor. After analysis, i found ...
Chinmoy Chakraborty's user avatar
0 votes
1 answer
28 views

DERIVE LBTETSTCD/LBTEST

The following is my SAS code data lb2; set lb1_s; by subject module visit lbperf; if module="LB" then do; *case where all LB Modules were not performed; if ^(first.lbperf and ...
user21943494's user avatar
-1 votes
1 answer
44 views

How can I use JavaScript to take content from a textarea and print it to a docx file?

I am trying to make a html to take something I have typed in the textarea and print in out in a docx file. Any ideas? I tried a library DOCX but couldn't get my hand around it. And I also tried ...
Shubhajit Ghosh's user avatar
0 votes
0 answers
36 views

Unable to grab and print the output of powershell ps1 in a different step

I have a powershell that returns key=value like the below: cat C:\Logs\getallkey.ps1 Write-Host "app_name=Signup-qa" Here is the github actions: - name: Sample append to OUT id: ...
Ashar's user avatar
  • 2,868
0 votes
0 answers
39 views

The Javascript code excited without any output

The Visual Studio Code was functioning flawlessly until yesterday; however, it is currently not displaying any output. I am utilizing Code Runner for JavaScript and other purposes. Output not being ...
Mannu's user avatar
  • 1
0 votes
0 answers
21 views

How to define a variable mentioned inside an IF function. ( Dart )

I need to define a variable in a IF statement so I can use it in the following code. In DART I typed the following: ` import "dart:math"; import "dart:io"; var numb; var ...
Codistinc's user avatar
-1 votes
1 answer
26 views

"if" Control Structures not functioning properly; error is messing with my whole program

I have set up an if control structure to determine whether he number of command line arguments from my read prompt is only 3 However, when entered correctly initially, the program repeats the prompt, ...
Dragoon's user avatar
1 vote
1 answer
86 views

Show trace name on nth-level

Question When using CLI, how to have it show n-th level action trace name (and symbolic arguments names) when an error occurs? Command: java -jar tla2tools.jar Test.tla Normal For example, with: Spec =...
jmpsabisb's user avatar
  • 172
0 votes
0 answers
6 views

Two Teensy Microprocessor Connected via wire for digitalRead digitalWrite input, output not working

I'm stuck with the following issue, I want the LED matrix to only light up when the audio is playing from the first teensy (both 4.1) . . . Video of Issue! Unsure if the problem is in the code or the ...
et_naej's user avatar
  • 17
0 votes
1 answer
35 views

How to Print out the maximum speed of the agent as the output consistently shows zero

I am encountering difficulties setting the maximum speed for my agents and unable to obtain the correct value when attempting to print it. The output consistently shows zero. I would appreciate your ...
Romi's user avatar
  • 15
0 votes
0 answers
28 views

PyTorch: Why does the inference of my conditional. diffusion model (Palette) always lead to bad predictions?

I am trying to implement Palette, which is a conditional diffusion model, and I am having some trouble with the inference algorithm. Currently, I am just trying to use it to model a very simple ...
Cristian Perez's user avatar
0 votes
0 answers
62 views

ValueError: could not convert string to float: '1,004.30'

I have a dataset of cryptocurrency. I have features as ['Open', 'High', 'Low', 'Vol.', 'Change %'] and target variable as ['Price']. I want to fit multiple regression even after converting the price ...
Sweta 's user avatar
0 votes
2 answers
45 views

How am I able to make 2 inputs have the same output?

Hi I am new to python and I am wondering if it is possible to have the same response for two different inputs? import re # Define a list of keywords and their associated responses. ...
Ryan Cheung's user avatar
0 votes
1 answer
19 views

pipe powershell script output to file

Scratching my head how to make this script send the output of the script to a text file identifying what groups were removed and what were not, below is my script anyone able to assist with what I am ...
david's user avatar
  • 1
-2 votes
0 answers
21 views

VS Code run the code in output even that I need to prompt from user C [duplicate]

I am new at learning C and when I run my code by ctrl + alt + N, it runs in the output even that I want to prompt from the user an integer and you cannot write in the output I have tried to rerun it ...
yazan kokeh's user avatar
0 votes
0 answers
45 views

text output in separate window

I have a python script that runs under Windows in a cmd window. It's using logging and calling several programs using the subprocess method in a standard way. Now I want to have multiprocessing of ...
Roland's user avatar
  • 1
0 votes
2 answers
274 views

Hide Ultralytics' Yolov8 model.predict() output from terminal

I have this output that was generated by model.predict() 0: 480x640 1 Hole, 234.1ms Speed: 3.0ms preprocess, 234.1ms inference, 4.0ms postprocess per image at shape (1, 3, 640, 640) 0: 480x640 1 Hole,...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
19 views

How to make PHPUnit output errors?

I'm running PHPUnit from the command line in windows as follows: php phpunit.phar --bootstrap .\commonTests\bootstrap_local.php .\commonTests\DIContainerTest.php --testdox --stderr -v and I'm ...
Jodes's user avatar
  • 1
1 vote
1 answer
23 views

Output of aggregate function to create a table

I am using the function aggregate that to get several statistics at the same time: temp<-aggregate(AUClast~RIC+STUD, nca_sim[!is.na(nca_sim$RIC),], FUN= function(x) c(N=length(x), ...
CodeMaster's user avatar
0 votes
0 answers
16 views

EffectLiteR: Why does an empty output occur?

I have the problem that RStudio shows me only an empty output after executing my script. The "funny" thing is that the correct results appear when I write the commands in the console and ...
notimeleon's user avatar
0 votes
0 answers
23 views

How to print the contents of a function onto the output window in Python? [duplicate]

So I have a piece of code such as def math(): x = 2 y = 4 z = x + y What I'd like to be able to do is print out the contents of this function somehow, so that what appears in the output ...
Petar Pehchevski's user avatar
1 vote
2 answers
53 views

Does working of increment and decrement operator change if used with logical operators [duplicate]

#include <stdio.h> int main() { int a = -10, b = 3, c = 0, d; d = a++ || ++b && c++; printf("%d, %d, %d, %d, ", a, b, c, d); a = -10, b = 3, c = 0; d = c++ &&...
FreeDragon's user avatar
-8 votes
1 answer
72 views

Can someone explain the output of this program written in C [closed]

int x = 5; int *p = &x; printf("%u\t%u\n",&x,p); printf("%d\n",*(p++)); printf("%d\n",*p); Can someone help me understand the pointer arithmetic? And what ...
Breathing Programming's user avatar
1 vote
1 answer
54 views

Manipulating with input/output jacks in Nextflow

I'm a newbie Nexflow user. And I'm struggling to familiarize input/output jacks in Nexflow. I knew that Nextflow has DAG visualisation, a useful feature for drawing a directed chart for flow. I have a ...
Rossy Clair's user avatar
-1 votes
1 answer
48 views

First xslt extract one element from xml and apply a root node, second one simply removes namespaces and attributes. Needs to combine both into one

First xslt extract one element from xml and apply a root node, second one simply removes namespaces and attributes. Needs to combine both into one 1st xslt contains <xsl:output omit-xml-...
Ana's user avatar
  • 1
0 votes
0 answers
40 views

gets and scanf way of reading input [duplicate]

I have a simple code that I wrote to differentiate the way gets and scanf scan code, I've read about their differences and I understand them, my problem specifically is with the output that gets show. ...
Leon's user avatar
  • 1
0 votes
0 answers
44 views

Getting output of bool-type function [duplicate]

I have created this function in C in which I am checking the validity of the sides of the triangle; How can I get its true/false output? (I have already tried by just calling it in main but it didn't ...
Hadi's user avatar
  • 1
0 votes
1 answer
41 views

Incompatibility between time.sleep() and pysimplegui.Output()?

I am currently implementing a chess game in Python using pysimplegui. As you can see on the picture, in the left part there is the chess board, and in the right part you have some buttons and an ...
Seb's user avatar
  • 43
0 votes
1 answer
30 views

Making a guessing game in C but outputs are different when I change variable types [duplicate]

I am new with C first of all. I was trying to write a guessing game. It is simple, you are just guessing until you find the number that program holds in "no_to_guess" variable. The problem ...
Arimfxx x's user avatar
0 votes
1 answer
20 views

How to get old terminal output for a currently running program that exceeding the buffer limit?

I am running a python program that is taking a while to run through all the iterations and I have been printing data to the terminal. However, the printed data exceeded the 1000 line limit in VSCode ...
BenE398503808's user avatar
-2 votes
1 answer
38 views

Why is my function not doing anything with this one specific .o file? [closed]

When I run my makefile, the printHeader.o file is not created. My makefile is depicted below: all: mkprog mkprog: main.o printlist.o insertNode.o printLine.o readfile.o totalCatGrade.o option1.o ...
Virgil Jericho's user avatar
0 votes
1 answer
26 views

cmd run python with output redirection, when python run a start, cmd still waiting start finish

cmd run python with output redirection, when python run a start, cmd still waiting for start finish cmd: python 1.py >> log.txt in 1.py: import os os.system("start python 2.py") in 2....
Kyle Hou's user avatar
0 votes
0 answers
15 views

Catboost iteration results meaning

I am fitting CatBoostClassifier like this: clf = CatBoostClassifier(cat_features=cols_cat, random_seed=11, verbose=50) clf.fit(X_train, y_train) Learning rate set to 0.132799 0: learn: 0.5495892 ...
Ars ML's user avatar
  • 41
0 votes
0 answers
8 views

I want to print an output from live run of pycharm to a simple plain text of qtdesinh

I don't have any code snippet for this question. I want to print whatever output is showing to run windows to a plain text editor I don't have any code snippet for this question. I want to print ...
Pradnya Choudhari's user avatar
0 votes
2 answers
24 views

show output from component.ts

I want to print the output generated by the component.ts, but I don't want a console.log, but the returned value on the component-html. This is my component.html (only the final part): <div class=&...
Alessandro's user avatar
0 votes
0 answers
18 views

How to save numbers below 10 to a variable in the set /p command? [duplicate]

I'm trying to save user input to a temporary .txt file but if the input is a number below 10 the .txt file stays empty. That's my code: set /p input=text: echo test=%input%> "test.txt" ...
leiseg's user avatar
  • 111
-1 votes
1 answer
27 views

VScode is outputting None and weird things after not updating the same file with a before valid output

print("test") def walk(direction, map): if direction == 'up' or 'down' or 'left' or 'right': if direction == 'up': pass if direction == 'down': ...
Merlin's user avatar
  • 1
0 votes
2 answers
45 views

How to have one of the columns of my main Select Statement query of one table, as an output from another Select statement from another table?

Example: I want the COL3 replaced with the Select statement form TABLE B as below in my original Select Statement of TABLE A: Select COL1, COL2, <*COL3*> from TableA; COL3 => (Select Sum(...
Media 99's user avatar

1
2 3 4 5
195