14,119 questions
0 votes
1 answer
49 views
MSI launched with /q (silent) - is it possible to print a message to the console?
I have an MSI installer (built with WiX), and some users run it in silent mode, for example: msiexec /i MyApp.msi /q If the user starts the MSI like this without passing certain required properties (...
1 vote
1 answer
59 views
Windows.System.Profile.HardwareIdentification.GetPackageSpecificToken throws exception
I'm trying to get a hardware id with a .net console app (target framewotk is net8.0-windows10.0.17763.0). The code is rather trivial, just var token = Windows.System.Profile.HardwareIdentification....
1 vote
1 answer
46 views
.NET Serilog ReadFrom Configuration doesn't work
Working version: private static void SetLogging(WebApplicationBuilder builder) { Log.Logger = new LoggerConfiguration() .Enrich.FromLogContext() .MinimumLevel.Override("...
0 votes
0 answers
19 views
How to debug service worker in phone-installed PWA?
I am having issues with fetch() statements in my service worker in a progressive web app installed on my Android phone (with Chrome). Ordinarily this would be easy to debug by sending messages to ...
0 votes
1 answer
42 views
Filter 'Run' console output in CLion?
I'm working on a program using the CLion IDE, and am running it using the IDE's Run or Debug actions. The program's standard output and error streams are directed to an embedded 'Run' console, ...
0 votes
1 answer
100 views
Is there a better way to continually write strings to console while checking for user input at the same time?
I am programming a console based speed reader. I have an automatic mode, where the console prints all the words — one at a time — and shows each word for a period of time set by the user. While ...
-3 votes
1 answer
102 views
C++Builder 13 Console Window is Truncated [closed]
I've revisited an old console app that generates output of more than 25 lines. Unlike my earlier experiences with C++Builder, the output window using C++Builder 13 truncates to 25 lines. I am ...
-3 votes
1 answer
131 views
Console.ReadLine in a Task causing side effects [duplicate]
I want to loop and ask user if he wants to continue. If no answer for a while, loop anyway. while (true) { Console.WriteLine("\nDo you want to continue? (Type 'no' or 'exit' to break, or wait ...
0 votes
0 answers
59 views
How to make an interactive console version in Java for a simple linear regression model?
I’m trying to create a simple model in Java that predicts marks based on study hours (using a basic linear regression formula). My goal is to make it interactive — where the user can enter the number ...
3 votes
1 answer
209 views
How to add Unicode emoji to python script in IntelliJ
I have a script which I have created couple of months ago with an older version of Intellij + Python plugin. I had to migrate to new windows and also new IntelliJ Currently I am using : IntelliJ IDEA ...
1 vote
1 answer
221 views
Configure IntelliJ to generate Java 25+ code using IO rather than System.out/System.in
Java 25 gained the convenience class IO for simpler access to the console, with print, println, & readln methods. See JEP 512: Compact Source Files and Instance Main Methods for details. In my ...
0 votes
1 answer
117 views
git commit message as variable in linux [duplicate]
I am trying in my linux (Xubuntu) console to make the git commit message in my chain of commands a variable so I can more easily execute my chain of commands. Instead of this where I habe to edit ...
0 votes
0 answers
42 views
Chrome dev console performance monitor details
I am analysing the performance of my angular app and when I see the performance monitor in the dev console I see the CPU usage and heap size in the graph (and numbers for these displayed on the left)....
3 votes
1 answer
189 views
Pipes Aren't Working: C Programming in the Windows Console [closed]
I've written this small program in C, which intends to read stdin line-by-line and finally echo each line back to stdout. It is designed to stop reading input when either EOF is detected or a blank ...
0 votes
1 answer
126 views
How to access svelte web app variables from the browser console? [closed]
I’m working with a Svelte 5 application that has already been deployed in production, and I don’t have access to its source code. I’d like to inspect or interact with some of its internal variables ...