9,696 questions
0votes
1answer
35views
PhantomJS frozen stuck at blank terminal after trying use $.ajax
I have been porting my code to PhantomJs and have been having a hard time with using $.ajax in Jquery. My code runs perfectly when the function call is dropped. I am new-ish to JavaScript other than ...
0votes
1answer
30views
Using IConfigurationRoot to retrieve user secrets in f# [closed]
A bare bone implementation for retrieving user secrets using F# I am new to f# (coming from c#) and I was looking to retrieve user secrets for a bare bone CLI project. I did not want to import ...
-5votes
0answers
43views
Error handling in shell using bubble tea causes error to be logged into history twice [closed]
Right now whenever I give an error in my shell that I am writing whenever I give an error (for example I type awda as a command) the out put compression can only go up to 2 because it's being logged ...
0votes
0answers
13views
Koin only injects one feature into Map<Int, Feature> in Kotlin CLI app
I'm building a Kotlin CLI application using Koin. I have multiple Feature classes (each representing a functionality), and I register them as follows: // FeatureModule.kt val FeatureModule = module { ...
0votes
4answers
63views
How to remove/delete the only commit made on a new branch? [duplicate]
I made a new branch to tinker with code without messing up the main branch I was working on. It ended up bearing no fruit, so I went back to working on the parent branch without bringing any of the ...
0votes
0answers
24views
AWS Bedrock Agent InvokeAgentCommand throws "Internal Server Exception"
I'm currently building a gen AI based CLI chatbot with an AWS Bedrock Agent in Node.js with the AWS SDK for JavaScript. But for some reason both in my code and in the testing enviroment within the AWS ...
0votes
0answers
35views
Drupal & CiviCRM: site does not pass readiness checks for automatic updates
I am wondering what is causing these two Drupal status report errors and how to resolve them. These two Drupal Status report errors: Update readiness checks: Your site does not pass some readiness ...
0votes
0answers
17views
AMAZON.QnAIntent integration to existing lex bot through cli
aws lexv2-models create-intent \ --bot-id BH4IPQZY \ --bot-version DRAFT \ --locale-id en_US \ --intent-name messageBedrock \ --description "QnA intent for knowledge base integration&...
0votes
1answer
28views
How Can I Ensure Suggestions Appear in the CLI Despite Long Execution Times?
I am developing a command predictor in C# following this guide. I managed to get the predictions working, but I hit a blocking point. If the execution time of the GetSuggestion() function is too long, ...
7votes
1answer
355views
C++ argument parsing is incorrect when the executable file path contains spaces
I am having problems with arguments in C++ console programs built under C++Builder 12 Community Edition. If the executable is in a folder with spaces in its name, eg. "test dir", and I ...
0votes
1answer
24views
Testing a package
I have developed a python package the directory looks like this: main folder/ django_app/ django_project/ my_package/ manage.py .... So as i set my path to main_folder/my_package in ...
-2votes
1answer
70views
(SOLVED) Ctrl + Left/Right Arrow Key not working properly inside Python Interpreter
https://youtu.be/WecyDCrqQPs When hitting Ctrl + Left/Right Arrow Key inside a Python Interpreter, the expected behavior is you'll move your cursor to the previous/next word. This isn't really ...
0votes
0answers
56views
Python multiline prompt
I have been trying to change my prompt in sys.ps1 with PYTHONSTARTUP. My idea was that I will show some information on first line (time, path) and the prompt on the second. When I tried changing ps1 ...
0votes
0answers
22views
Reading user input while long running child process is running - every other key is missing
I have a simple Node CLI app that runs a long-running process, in this case a Gradle in watch mode. I need to have some user control so I added a fairly standard setup for reading the keys like this: ...
-1votes
2answers
70views
Why is Angular version 14 not working on some node versions?
I am working on many different versions of Angular like Angular 10 to 18. While I am using nvm for use of node versionlisted here: 22.14.0 21.7.1 20.11.1 (Currently using 64-bit executable) 20....