21,616 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
73
views
PowerShell Script: When the Ethernet Port status changes why doesn't the status report show the actual port status?
I am an occasional casual programmer (for about 60 years now!). I wrote 2 functional SNMP PowerShell desktop shortcut scripts 4 years ago. Now I am writing two scripts for my old Windows 10 system: ...
0
votes
0
answers
51
views
New dbt Prehook Depreciation Syntax?
I have a prehook in the config section of my model. I don't want it to be part of the project yml, just in my model query itself. It's been working fine up until this week where I started getting ...
-1
votes
0
answers
80
views
How do I get a certain character from a string of numbers and or characters?
I'm trying to make a loop that gets each character of the given value in rdi (to later convert it into binary) but I don't know how to obtain a certain character from the given string from rdi.
; rdi ...
2
votes
3
answers
140
views
Calling exe with Start-Process is not getting arguments correctly
I have a tool for editing the VersionInfo portion of our executables so that we can tie all of the different components to one installer part number. The tool I am using is resourcehacker (https://www....
-1
votes
1
answer
36
views
Syntactically required and semantically relevant tokens in Python grammars
I am trying to parse code into AST. I want to keep minimum keywords and delimiters in the AST while keeping the semantics.
In Python function definition def foo():, the last : is syntactically ...
4
votes
2
answers
139
views
Can I instantiate an object in PowerShell and set a property in a single command?
I know how to instantiate object in PowerShell but I am struggling to find out if its possible to instantiate an object and set one of its properties in the same command.
The following commands work ...
0
votes
1
answer
58
views
TypeScript error when linking to nested route with parentheses "Type '/(auth)/register' is not assignable to type 'RelativePathString'"
I'm building a React Native app using expo-router, and I’ve set up my authentication routes inside a group folder:
app/
├── (auth)/
│ ├── login.tsx
│ └── register.tsx
├── (tabs)/
│ └── index.tsx
...
1
vote
2
answers
103
views
Adjusting syntax table for a derived mode in .emacs
In order to view/edit Doxygen files, I am using
(define-derived-mode dox-mode
html-mode "dox"
"Major mode for Doxygen."
)
(add-to-list 'auto-mode-alist '("\\.dox\\'&...
0
votes
0
answers
30
views
I have an Analysis in Quicksight AWS and I want to create a vlookup to select a row within the dataset
Within AWS Quicksight we have created an analysis that has
several transactions all in different currencies that are all on different dates
there is a column that shows the GBP FX rate for that ...
0
votes
1
answer
71
views
Why does only .Range("A2") work when I'm setting a value between two sheets? How can I make variable references work?
Very new to VBA for excel.
I'm trying to put values from one sheet into another sheet. I've scoured the internet for solutions, and nothing has worked. Every time I get a 1004 Error: Application-...
0
votes
0
answers
75
views
VIM keywords in syntax regex
I am currently writing a c3 syntax file for vim and I have some issues with a highlight.
I have this line:
syntax match ModuleName "\<module\>\s*\zs[a-z][a-zA-Z0-9_]*\ze;" display
and ...
4
votes
1
answer
82
views
Windows PowerShell parsing json - bracket vs dot
Using Windows PowerShell terminal for running a PS script.
I need to do (among the rest) some json file parsing. I ended up in a strange situation, here below posting a minimal example:
Json file:
{
...
0
votes
1
answer
78
views
Timestamp format fix needed
I'm trying to query a time-series container with 10M+ IoT records, but my TQL query fails with
GS3008: [TQL] Syntax error near '>' (position: 45)
Here is the query:
SELECT sensor_id, AVG(value)
...
0
votes
1
answer
99
views
Could anyone explain this syntax of XAML?
Could anyone explain this syntax of XAML?
<Window x:Class="WpfApp1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://...
-1
votes
1
answer
50
views
Linking union query to subquery
I'm trying to write a query that will join a subquery with a large union query and I'm having some trouble.
Below is the subquery:
SELECT DISTINCT X.JOB, FOO.PART FROM
(SELECT C.PART, C.ORDER_NO, C....