All Questions
7,328 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
124
views
How to append all content between valid numbers
I am newer at coding and can't wrap my mind around what I'm doing wrong. This function takes in text from pdf's and starts collecting text only after a certain "search phrase" is found. Then ...
0
votes
1
answer
164
views
How to determine valid message orderings in this UML sequence diagram?
I’m trying to understand the execution rules for message ordering in UML sequence diagrams.
Because this question is broken down into different aspects related to each other, I would particularly like ...
2
votes
1
answer
132
views
How to disable sequence
I need to disable a sequence on a table, insert some values and re-enable.
I'm searching for the Postgres equivalent of
set identity_insert dbo.myTable ON/OFF
as I can do it in SQL Server.
I have a ...
1
vote
4
answers
173
views
Loop SUMPRODUCT or LAMBDA in Range
I am trying to use the same formula repeatedly in a range. Doing it with VBA is easy, but I am trying to do it without using VBA and all in one formula. I am trying to use SEQUENCE and OFFSET but am ...
1
vote
1
answer
76
views
How to make SEQ display a colored metric badge (highlight) for elapsed time in log messages?
I’m using SEQ for structured logging in my .NET application (Serilog).
I want SEQ to display a colored badge (highlight) with the elapsed time (in ms) on the right side of the log message, just like ...
0
votes
1
answer
76
views
Oracle multiple rows sharing the same sequence
I have a need for a native query that reutilizes a sequence value.
I have this query that does not work, but gives an idea of what I need
SELECT
s.seq2 as sequence2,
S_SEQ1.nextval AS ...
-1
votes
0
answers
156
views
SCCM Task Sequence - Powershell (Application Uninstall)
i have created a Task sequence to uninstall a Application via Powershell. i am not able to Find where the issue is. when i Deploy it in Test Device Collection. in Software Center Status shows ...
3
votes
5
answers
204
views
Sequence of function iterations
Is there a way to abuse assignment expressions or functional tools to generate the sequence x, f(x), f(f(x)), ... in one line?
Here are some contrived examples to demonstrate:
def iter(x, f, lim=10):
...
1
vote
0
answers
44
views
Transforming a reactive API into a lazy sequence in Kotlin
Consider I have a reactive, push-style API such as Files.walkFileTree() from NIO.2. Now, I want to transform this API to produce a lazy sequence of items (Sequence<T>) instead.
This is fully ...
1
vote
2
answers
88
views
Incremental Value based on fixed total in a cell
I am looking to simplify my current setup, if possible with a single array formula to produce the following result.
I want to have a column with
Incremental value by 1
Base starting is 1,000
Total ...
1
vote
1
answer
121
views
Error when running NEXTVAL on sequence inside stored procedure
I have a snowflake procedure in which I would like to capture the next value from a sequence and do something with it. Here is a simplified example of such a sequence and proc:
use schema TEST_DB....
1
vote
1
answer
43
views
Is there any way to show subprocess output in spyder console?
I'm computing neural networks with several .py files in spyder. I could sequencely execute them in spyder. However, the console do not show any thing like single file execution.
For example, this is ...
1
vote
4
answers
87
views
How can I find the only matching element in a Seq[A] as an Option[A], throwing an exception if there is more than one matching element?
In some test code, I have a Seq[A] that I'm filtering down to items matching a given property. There should be at most one such element in the sequence. If it has more, it means I set up something ...
0
votes
0
answers
58
views
Bigquery : How to Split a Sequence into Sub-Paths by Breaking at Specific Delimiter Values
I am working on breaking a path sequence into smaller sub-paths, dividing the sequence whenever a specific step (e.g., "CC step") occurs.
While I’ve already evaluated a solution proposed by ...
1
vote
2
answers
89
views
Check if a sequential value in a range
I am stuck in a unique situation. I have a range:
ABCD0001 to ZZZZ9999
The above range can hold any combination of numbers in between. The individual values reset at Z (next becomes A) or 9 (next ...