Skip to main content
Filter by
Sorted by
Tagged with
6 votes
1 answer
191 views

I'm experimenting with C# Expression Trees and trying to understand the difference between Expression.Return and Expression.Goto. I can’t create an example where Return and Goto behave differently ...
Neomaster's user avatar
1 vote
3 answers
117 views

I have a repeated task that demands executing slightly different sub-parts of commands in each task. Each task starts the same, but then I have to go into direction A, B, C, D... for each task. My ...
deschen's user avatar
  • 11.6k
-2 votes
1 answer
103 views

We have a system with many logic expressions, they're implemented as series of boolean functions operating on variables and the rules are stored as XML. As the XML files are compiled into the assembly ...
MrTelly's user avatar
  • 14.9k
0 votes
0 answers
36 views

I'm converting an Xcode app to Android. Part of the app takes a string mathematical expression and using NSExpression (Xcode) connects and calculates a result. In Android I've used mXparser, but ...
Nicholas Farmer's user avatar
-1 votes
1 answer
99 views

Now I can read data from a database and can map the data to a case class using a ORM the case class is like following case class Example(a: Double, b: Double) And I have a text file and this file ...
ruoyu's user avatar
  • 1
1 vote
1 answer
149 views

In the following example, is the compiler allowed to treat foo as constexpr even though it's not explicitly marked with constexpr? int foo() { return 42; } int main() { return foo(); } Note ...
Adrian McCarthy's user avatar
-1 votes
1 answer
63 views

I have following problem: I use a variable: Server=DESKTOP-156DAO6\FILEWATCHERSER;Database=testDb;User ID=florian;Password=test123321;TrustServerCertificate=true;Trusted_Connection=False for ...
Florian Berwald's user avatar
0 votes
0 answers
85 views

I have the following: public Func<MyObj, bool> GetFilter(Status status) => status switch { Status.Active => x => x.Status == Status.Active && x.ValidFrom <= DateTime....
Ivan Debono's user avatar
  • 1,016
5 votes
1 answer
133 views

I'm working with Spring Expression Language (SpEL) and noticed that expressions like @bar.int and @bar.getInt() both seem to access values from a Spring bean. What is the actual difference between ...
What is this's user avatar
0 votes
1 answer
74 views

I am relatively new to the ADF, I am trying to achieve following: Have csv file: price new price 102 91 1145 I need to apply to both "new price" cells following function: if(A2>1000, A2*1....
Michael Graber - NOAA Affiliat's user avatar
0 votes
2 answers
26 views

I'm working on a report for attendance and building a report for administration that shows students at Risk based on percentage.Want to change the percentage color based on the value for quicker ...
Wayne's user avatar
  • 15
1 vote
1 answer
119 views

This question arose while I was experimenting with Kotlin's static typing feature. The scenario is as follows: I wrote a piece of code containing an if/else expression that returns a value to a ...
Vinicius's user avatar
  • 101
0 votes
1 answer
76 views

I have a Logic App expression that evaluates the condition correctly, but outputs True instead of true. A subsequent POST HTTP action fails as the JSON payload that contains this value cannot parse ...
ww-sam's user avatar
  • 1
0 votes
0 answers
55 views

I have a Spotfire analysis built that was working for 2024 data, but is no longer working now that it is 2025. Here is an example - this expression was built to pull volumes for both the previous 3 ...
CasWalker's user avatar
1 vote
0 answers
43 views

I've been working on designing my own (C#-like) strongly typed programming language and writing a bootstrapping compiler for it, but I'm struggling with an issue of terminology. I've got BNF ...
Tim Veldhuizen's user avatar
2 votes
2 answers
66 views

I just realized I had a typo in my membership test and was worried this bug had been causing issues for a while. However, the code had behaved just as expected. Example: "test" in "...
Akaisteph7's user avatar
  • 6,922
1 vote
0 answers
165 views

I am trying to implement search algorhytm using OData. Ideally I want to take the user query, compare it to every string or GUID and give each entry a score, then sort the results and return them. (...
Luk164's user avatar
  • 822
0 votes
1 answer
244 views

Consider the following example: #include <iostream> using namespace std; int main() { int n=1; []() { n;// (1): error }...
Red's user avatar
  • 1
0 votes
2 answers
121 views

I was trying to reproduce the logic NOT gate in c as a practice, but ran into an issue I do not understand. To make sure to have only 0 or 1 as intake, I evaluate the value of an int variable called '...
Octavio's user avatar
  • 161
0 votes
1 answer
63 views

It might be a stupid question. But is there any way to extract set of genes clustered together in each group? I have expression data file but I want to do gene ontology separately for each disease ...
Biotechnologist's user avatar
3 votes
0 answers
64 views

I have a task to make an anti-plagiarism of formulas. It is necessary for it to highlight similar places in two formulas (example in the photo). But there is a problem, after I found these similar ...
Дмитрий Дашкин's user avatar
0 votes
1 answer
59 views

I'm trying to write a "relaxed" comparison method which operates on Expressions and is used in Entity Framework. It consists of a chain of Replace() calls and ToLower() to perform an inexact ...
Daniel Vernall's user avatar
1 vote
2 answers
104 views

I am working on a simulation study in R where I am plotting bias and variance curves for different estimators. I want the titles of the subplots to include properly formatted mathematical expressions, ...
Saïd Maanan's user avatar
1 vote
1 answer
117 views

We all know that the expression i++ + i++ is undefined behavior. But is it also UB, if the side effects happen on a reference in the function body? For example : int f(int& i) { // pass by ...
Christophe's user avatar
  • 75.1k
1 vote
1 answer
91 views

I'm trying to solve this expression F = 56 - X / (Y * 17) in Assembly (Emu8086) X, Y are variables. I'm a complete beginner and I have done this (but probably not correct): Mov bx, 56 ; BХ = 56 ...
Khu's user avatar
  • 11

1
2 3 4 5
155