7,846 questions
0
votes
1
answer
34
views
Why does a function call operator need to be separated from the add operator?
In Swift, it seems that the function call operator () needs to be separated by the whitespace from the add operator +.
func f() -> String { "a" }
print(f()+ f())
The above code causes ...
1
vote
0
answers
44
views
Apache Superset PostgreSQL Query: Network address operator <<= Not Supported
I have a new instance of Apache Superset and SQL queries to PostgreSQL databases from SQLLab is working. The exception is SQL which use the <<= 'is contained within or equals' network address ...
4
votes
1
answer
144
views
Using C++ reflection to automatically generate arithmetic operators?
As the reflection proposal just got accepted into the C++26 draft, I am wondering if the expected facilities could be used to automatically generate several arithmetic operators for a class?
For ...
1
vote
0
answers
21
views
receiver/filelog remove fields after syslog_parser fails
Using remove operator after syslog_parser operator for [receiver/filelog] to cleanup log output fails.
Current receiver configuration:
receivers:
filelog/my-app-name:
include_file_name: false
...
-2
votes
1
answer
60
views
What is ^ In Kotlin? I have been trying to implement power operator but it is not working [duplicate]
What is ^ in Kotlin? From what I read it is XOR but nowhere in documentation it is written that ^ is XOR. Can anyone redirect me? I have been trying to implement basic power mathematical operator.
0
votes
0
answers
44
views
Blender: Report message from previous run persists in successive run of the same operator
Summary
When an operator is run multiple times successively in blender, report messages (generated by report() API) from previous runs are also showing up in present run.
What is the reason behind it ...
4
votes
3
answers
174
views
How to store std::complex operator as a variable (C++)
I've been writing some tests for the arithmetic of complex numbers.
I've tried to write them in a way where I don't have to rewrite a code section for each operator. I am trying to store std::complex ...
0
votes
2
answers
174
views
Plus (+) operator semantics in c
Today I noticed that the weird b + + c; expression is considered valid in C. I am wondering if there is a reason behind it; especially, given that b ++ c; and b + ; are considered syntax errors.
I do ...
0
votes
0
answers
50
views
I struggle understanding the "Powerset" Operator in the language clingo
First of all: how is the operator "{}" really called? The documentation ist not very good at answering this.
I call it powerset operator because it creates a powerset of all elements.
{ z(1)...
2
votes
2
answers
75
views
Why does the %in% operator not behave analogously to the == operator with data frame indexing
I'm writing a function to clean some CEX data (doesn't really matter), and I cannot figure out why I am unable to use %in% to subset a data frame with a list when I am able to perform the analogous ...
0
votes
0
answers
31
views
If I have Floquet operator, how to derive its eigenvectors w.r.t k as I want to calculate the Zak phase?
I want to get the eigenvectors of the Floquet operator and then derive them with respect to 'k' to be able to do the inner product that is in the Zak phase formula and then integrate over 'k' from -pi ...
0
votes
1
answer
77
views
What is the difference between adding the `?` operator and not adding it in this call?
In this code, what is the difference between adding the ? operator after the call to read_to_string() and not adding it? Why do both work = what happens if this call fails?
fn chaining() -> Result&...
1
vote
2
answers
103
views
How do I correct these BASIC errors
First time posting here, I'm getting a few errors in an old 1977 BASIC program for the Sol 20 computer.
First error is a "DM error in line 4240":
4220 PRINT " TYPE IN -STOP- TO ...
0
votes
1
answer
80
views
How to solve Pyarrow compute module having significant performance degradation
I'm building out a library that utilizes pyarrow for data manipulation as I found it to be far and away faster than compared to Pandas, and I've found that working with it directly over Polars has ...
2
votes
1
answer
61
views
I want Excel to interpret an operator as a caracter in a formula
I have a form with answers such as: < 24
or > 20 kh
I want to count how many answer are of each type.
I want to use a formula of this kind: =COUNTIF(EW5:EW150;"< 24")
but it seems ...