Skip to main content

Questions tagged [expression]

Combination of several programming symbols and values intending to produce a result

expression
0 votes
1 answer
49 views

How do you add both data frame values and math operators to geom_text in R? [closed]

I'm attempting to use geom_text to create a label 'Ankle Absorption W = -0.52 - 0.13 x Hop Height'. My understanding is that I need to use %*% within expression() to output the x sign. The numbers are ...
D.O.'s user avatar
  • 3
1 vote
0 answers
16 views

BIRT Expression to Filter Data Based on Consecutive Instances

I'm working on a BIRT report and need help refining a data filtering expression. Problem: I have an existing BIRT template (.rptdesign) and sample XML data. I've removed the first two columns from the ...
Abdul Qadeer's user avatar
1 vote
2 answers
96 views

Compiled lambda expression leading to new delegate allocations, whereas non-expression version does not

This compiled expression tree... var param = Expression.Parameter(typeof(int)); var innerParam = Expression.Parameter(typeof(Action<int>)); var inner = Expression.Lambda(innerParam.Type, ...
Bogey's user avatar
  • 5,482
0 votes
1 answer
36 views

Building a generic search for RavenDb - failing to create Expression<Func<T,object>>

The standard search method on IRavenQueryable looks like this: public static IRavenQueryable<T> Search<T>(this IQueryable<T> self, Expression<Func<T, object>> ...
Stephan Steiner's user avatar
-2 votes
0 answers
25 views

Inefficient regular expression [closed]

allowedString = /^(\w+ ?)*$/ This part of the regular expression may cause exponential backtracking on strings containing many repetitions of 'a'. CodeQL is complaining of this expression. What ...
lahari edulla's user avatar
0 votes
0 answers
37 views

calculations in expression for value in Report Viewer/Rdlc but Result do not match in VB.NET

I'm Trying to calculations in expression for value in Report Viewer/Rdlc but Result do not match in VB.NET is there anything wrong with my code, please guide me or something is wrong in the expression ...
dlaksmi's user avatar
  • 47
1 vote
1 answer
42 views

Expression Visitor access property on parameter representing local variable

Trying to write an ExpressionVisitor that would rewrite a query Starting point var contractSubjectKey = new ContractSubjectKey(subjectId, rank); insurance = context.Set<Insurance>() ....
Matus's user avatar
  • 181
0 votes
0 answers
29 views

Expressions with Grafana and Zabbix Plugins

I am trying to use grafana along with zabbix to find network saturation points and bottlenecks. As part of that I was building a panel to show bits_sent + bits_rec / port_speed stats from Zabbix using ...
Bob R's user avatar
  • 617
-1 votes
0 answers
33 views

EntraID/AzureAD - SCIM App Provisioning - Expression building - in a seek of doc with all functions/getters

Example I'm working on my LAB and I'm wondering about SCIM API-Driven provisioning expression building. DefaultDomain() - returns the default domain in your tenant - the only reason I know about ...
Ama's user avatar
  • 1
0 votes
0 answers
21 views

Coerce generic argument of expression

I have a situation where I need to logically-combine two expressions: Expression<Func<T1, bool>> expr1; Expression<Func<T2, bool>> expr2; In some cases, T1 and T2 are the same ...
caddzooks's user avatar
1 vote
1 answer
73 views

How to trigger implicit pointer conversion inline in a C macro?

Context I have some functions to support using a custom memory allocator in my library: void *(allocate)(struct allocator *allocator, size_t size, size_t alignment); void (deallocate)(struct allocator ...
DutChen18's user avatar
  • 1,165
0 votes
1 answer
44 views

Power Automate: IF condition in column of "Add a row into a table" triggered from a MS form

I've created a flow in Power Automate to add a new row to a spreadsheet. The issue I'm having is that for one column I need to say what system the form submission relates to. Since I only have one ...
McJim16's user avatar
0 votes
0 answers
20 views

Summary per year in SSRS

I am working in SSRS. I would like to see a summary yearly of meter readings. To get the year I used this expression: =Year(Fields!VerbruikStartdatum.Value) And for the sum of the meter readings I ...
Theresa Mascis's user avatar
0 votes
2 answers
46 views

Azure Logic App : retrieve a value from key value within parsed JSON

I am building a logic app where I have some JSON pulled from Shopify this has extended properties like this { "metafields": [ { "id": 222222, "namespace"...
rs82uk's user avatar
  • 737
1 vote
1 answer
52 views

make a portion of ggplot legend bold

I want to make a portion of my legend labels (which are stored in a separate data.frame). This question is related but it is simpler than my case: library(tidyverse) df <- data.frame(xx = c(0, 3), ...
user63230's user avatar
  • 4,472

15 30 50 per page
1
2 3 4 5
513