17,694 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
26
views
Using GT Automation / Scripting API in GT-SUITE 2016 (GT-ISE) for CFD Coupling Cases
I’m working with GT-SUITE 2016 (GT-ISE) and want to automate creating and running CFD-coupled simulations using the GT Automation / Scripting API.
The official docs mainly cover manual setup for ...
0
votes
1
answer
75
views
Manifest v3 couldn't load the script file
I'm trying to inject my script into the sender tab but in service worker console there is an error:
Uncaught (in promise) Error: Could not load file: 'chrome-extension://...'.
But when I fetch() this ...
2
votes
1
answer
77
views
Azure DevOps "File Path" PowerShell task fails with "MissingEndCurlyBrace" but script parses and runs fine locally and as inline steps
Environment
Azure DevOps Classic UI
Task: PowerShell@2 (Windows PowerShell, not pwsh)
Agent: Windows (Microsoft-hosted and self-hosted both repro)
PowerShell version: Windows PowerShell 5.1
Script ...
0
votes
0
answers
31
views
Regarding buffer size warnings
I accidentally ran an infinite loop Elisp code, and the buffer size became too large, resulting in a warning.
Warning (undo): Buffer ‘foo.ass’ undo info was 24054654 bytes long.
The undo info was ...
-2
votes
1
answer
150
views
Bash Hackerrank Challenge solution is working on bash version 3.2 on computer but not on Hackerrank Bash IDE [closed]
Attempting to solve the "Lonely Integer" problem
HackerRank problem statement:
My solution
declare -i n
read n
declare -a numbers
read numbers
n=${#numbers[@]}-1
while [ $n -ge 0 ]; do echo ...
0
votes
2
answers
140
views
Import readline while using input() in the gdb session
I am running my python script through the gdb via gdb -x py_script.py.
The only program I can't seem to be able to work around is the fact that editing and history of the built-in python readline ...
1
vote
0
answers
67
views
GeoGebra Classic 5 — Can I save and run a batch of Input Bar commands from a plain text file?
I remember (from around 10 years ago) that in GeoGebra I could save the commands I would normally type into the Input Bar into a textual file, and then open/load/run them all at once, without having ...
2
votes
4
answers
164
views
Is there a standard way to grab "values" from a "key" in bash?
I'm learning bash from a book and just wanted to see if there is a more efficient way to do this.
The output of cat /proc/acpi/wakeup is multiple lines, but I only care about this one:
GPP0 S4 ...
0
votes
0
answers
70
views
Office script in Excel can't be saved to workbook
I have written a script that works as expected with a specific workbook and I now want to save it to that workbook and ideally would like to make a button to run the script. However I do not get the ...
3
votes
3
answers
88
views
powershell - using -Confirm as a parameter, how do I know if the user has said 'yes'
I have this simple script in powershell.
# Save the non-running services to a variable
$nonrunningServices = Get-Service -Name "*sql*" | Where-Object { $_.Status -ne 'Running' }
#Check the ...
0
votes
0
answers
51
views
How can I get more helpful syntax error messages in a Groovy 4.0.9 Script with embedded methods?
I have embedded Groovy 4.0.9 in my application as a scripting language, and I want to be able to provide helpful feedback to my users when their scripts don't compile. This works ok with a basic ...
-1
votes
1
answer
86
views
How to prevent batch script from exiting prematurely? [closed]
In the below batch script, the script exits right after the datapatch command.
The datapatch command executes successfully but none of the code in the if/else clause is executed.
:: Define env ...
2
votes
0
answers
74
views
How to specify target framework for Microsoft.CodeAnalysis.CSharp.Scripting.CSharpScript?
The problem
I am implementing an out-of-process C# REPL for a Unity game. I tried an in-process REPL at first, but couldn't get it to work because of some weird VTable related exceptions when loading ...
1
vote
1
answer
178
views
Problem: (100) No permission to publish the video when uploading to Facebook Page via Graph API
I was trying to upload a video to a Facebook Page using the Graph API and kept encountering the error:
(#100) No permission to publish the video
Despite having the app in Live mode, proper permissions ...
1
vote
1
answer
38
views
Does Android Support Runtime XML or HTML Parsing for Dynamic View Creation?
I'm working on a native Android application where screens need to be rendered dynamically based on data received at runtime. The application is database-driven, and we aim to support customization for ...