27,285 questions
0
votes
0
answers
30
views
Excel dynamic arrays not able to be multiplied together
I have two arrays that won't multiply together, I just get a single zero. I would expect the result to be an array.
Is there some behaviour of dynamic arrays that I don't understand here? The arrays ...
0
votes
1
answer
43
views
How to dynamically create and data-bind ComboBox in code?
In my Avalonia app using the MVVM Community Toolkit, I need to dynamically create a ComboBox from code-behind, having it data-bound to a collection of a subclass of a class that encapsulates ...
-1
votes
0
answers
151
views
Python - My coin counting code doesn't work for inputs between $1.09-$1.16 and I dont know why
I'm very new to programming and am writing this code for an intro programming class project. It takes an input from the user in dollars and outputs how many different ways you can create that input ...
Best practices
0
votes
4
replies
77
views
using variable of type Class<?> in switch construct
i'm in need of a data container for several data types and fail to write some omnipotent :-) converter func.
Maybe my idea is crab, in this case please give me a hint what concept to use.
My current ...
1
vote
1
answer
47
views
How to bind viewmodel collection to dynamically-created ItemsControl in code?
In my Avalonia app I have a user control (UC) that has some databound controls and a StackPanel that has controls added to it dynamically from code-behind. This UC is then dynamically added to an ...
0
votes
1
answer
74
views
How to specify bound property of known name for Avalonia control created in code-behind?
In my Avalonia app, I need to create controls dynamically from a user control's code-behind so I can add them to a StackPanel inside that user control. I know the names of the viewmodel properties to ...
0
votes
1
answer
84
views
How can I hide or collapse subtotal rows in an Excel PivotTable?
I'm wondering if this is possible, as with pivot tables in excel there is an option to expand or collapse all fields. If you try to record this in Automate, it says this action cannot be recorded. A ...
0
votes
0
answers
22
views
How to dynamically load images in a capacitor in a native environment?
I have classic web folders structure like:
index.html
images/logo.png
js/index.js
I would like to add the logo.png to using jQuery appendTo function:
$("<img/>", {
src: "...
0
votes
2
answers
69
views
How create a dynamic cumulative sum in power query
I want to create a sum in power query (Measure C below) returns the cumulative sum of Measure A + Measure B and is limited to zero and which resets at the beginning of each Period as shown in the ...
0
votes
0
answers
74
views
Should we implementation(project(":app")) in a dynamic feature?
In the test project link, we have
app: the base application
dynamicfeature: the dynamic feature module
mylibrary: the kotlin library
In dynamicfeature build.gradle.kts
dependencies {
...
-1
votes
2
answers
104
views
Selenium interaction with accordion list [closed]
I'm trying to scrape the data off this site.
The website shows a charging station, in this case you can click each to unravel the accordion and see the data per charger. I am trying to use this ...
0
votes
1
answer
75
views
How to get this simple DynamicStackCardSwiper code working?
I am trying the package dynamic_stack_card_swiper from pub.dev because of the following requirements:
Display custom cards in a list and be able to swipe (left and right) to go through the cards
...
3
votes
1
answer
113
views
Using a dynamic query in an Oracle stored procedure
I am trying to run something similar to this within a stored procedure in Oracle.
pWhereCLAUSE is generic which I set depending on the table I am working on. The following code runs just if I have the ...
0
votes
0
answers
81
views
Trying to graph of the relationship of the frequency and wave number of the spin wave
I've been trying to make this code into a function and gather the wave number, but how do I get the frequency and then collect the data bt changing the wave number and then graphing. Below here is the ...
0
votes
2
answers
51
views
Karate - How to insert dynamic array in a json variable
I try to include a dynamic array in a json variable and it fails.
hostsArray is dynamically built
# sample of hostsArray
* def hostsArray = '[{"hostid": "1234"},{"hostid"...
3
votes
1
answer
127
views
Set a dynamic range based on common values in a column
I want to give a "Timepoint" value (which I call a scanRank in the code below) to all the rows in this table based on "Subject ID".
In this example, the first subject is already ...
0
votes
0
answers
63
views
How can I dynamically write each feature class to a separate layer with a modified name when using a single merged feature type reader?
I have a set of feature classes inside a File Geodatabase, which I read using the "Single Merged Feature Type" option in FME. After reading, I perform some analysis on the data.
At the end ...
0
votes
1
answer
122
views
Does the dynamic keyword box the value types? [closed]
This project is ASP.NET MVC Framework 4.8 with Entity Framework 6 and uses:
dynamic GetSystemSetting(string paramCode, string paramType)
It contains Int, Float, Bool, String, and Guid values. It is ...
0
votes
1
answer
57
views
How to programmatically map Akeneo attributes to Magento 2 custom attributes from a webhook payload?
I'm building a Magento 2 module to synchronize product data from Akeneo PIM using webhooks. My current approach for mapping attributes from the Akeneo payload to a Magento product is hardcoded, which ...
5
votes
3
answers
153
views
Toggle switch with sliding background and labels of dynamic length
With Vue.js I'm trying to replicate this toggle button from TailGrids:
This kind of switch isn't among the TailGrids examples. I was able to reproduce the general style with Tailwind. I also found ...
1
vote
0
answers
127
views
VBA Excel - Enable and disable controls in a form depending of a combobox value
I have a combobox control in a form made for an Excel application, using VBA. Let's suppose that the combobox is called cmb010. Next to it there are 2 other controls called txt011, cmb012 and txt013. ...
-1
votes
2
answers
153
views
Dynamic arrays and pointer arithmetic
As far as I understand, pointer arithmetic is defined mainly in expr.add. But it seems defined only for static arrays, not dynamic ones:
4 When an expression J that has integral type is added to or ...
0
votes
1
answer
68
views
VBA: Check/Tick specific dynamic checkbox when Togglebutton is clicked
I have created a UF reading in various tabs (opt) with each tab having between 10 to 19 entries which I display in a Multipage checkbox list.
Now I'm trying to create various Togglebuttons which ...
0
votes
1
answer
239
views
How to handle dynamic internal table field names in ABAP? [duplicate]
I'm working on a generic report where I need to read values dynamically from different fields in an internal table based on user selection.
How can I retrieve a field's value dynamically when the ...
0
votes
0
answers
43
views
Dynamic route on nextjs deployed on vercel not working
I was working on Nextjs BLOG project, built api's then deployed it in Vercel post, get all, and delete seem to work. But get indivisual post to view and put method for editing don't work, (dynamic ...
-1
votes
4
answers
173
views
Excel - Sorting textual versions using dynamic arrays
I need to sort versions of software, and like you can see in this picture, the source is in 6 colomns (it can change), stored in a dynamic array.
I need only one colomn with the higher versions in ...
0
votes
0
answers
42
views
Performance of inline JSX arrays with dynamic length
I’m new to React and I want to understand how rendering an inline array in JSX—with a dynamic length that depends on an external variable—affects performance. For example:
return (
<>
{...
0
votes
0
answers
23
views
Creating a Dynamic Table in android using TableLayout while setting the column view attributes in layout file
I am trying to create a dynamic table in android and was analyzing to see if I can use the TableLayout, though I see various options of how to add rows dynamically but all the examples requires me to ...
-1
votes
1
answer
167
views
Importing a table from website into google sheets [closed]
I am trying to produce a spreadsheet which gives me football teams recent performance, much quicker than searching different HTML pages for each league.
I found a previous website that showed each ...
1
vote
1
answer
71
views
Is there a standard for creating shared libraries with 'conditional' or 'soft' dependencies on other shared libraries?
I'm writing an application fooapp which can use one of several other, existing libraries for some part of its functionality. For the sake of discussion, let's say that its saving the program output. ...
0
votes
0
answers
107
views
How to use response_format with dynamic Pydantic attributes (Mistral LARGE API)
I'm using Mistral Large to analyze PDFs. As input, I provide the PDF and a response-format, which is a Pydantic class defining the output structure.
Here is my api call:
chat_response = self.client....
2
votes
1
answer
74
views
Postgres using clause in stored procedure/function not working
I have a stored procedure in which, through dynamic SQL, I want to delete rows where energy = 0. This works allright as long as I use string concatenation for the query build-up. But when I try to use ...
1
vote
2
answers
118
views
Updating table names dynamically in formulas in VBA
Update: Thank you all - Having the spaces before and after the ampersands in the CountA solved the problem in one location, and being able to use the Row(Table) function suggested in the comments ...
0
votes
2
answers
116
views
Google sheet query to sum columns dynamically determined by a multi-choice selection from a dropdown
I have a table in a Google sheet that looks like this:
company
2024Q1
2024Q2
2024Q3
2024Q4
A
$100
$50
$95
$12
B
$200
$35
$54
$9
C
$0
$40
$23
$12
I use data validation to create a dropdown (from a ...
1
vote
2
answers
56
views
How can i change homepage icon svg to solid in Angular app?
I have a sidebar component and there is a navigation menu inside it with some buttons. This is button component HTML template:
<a
routerLink="{{ data[index].href }}"
class=&...
0
votes
0
answers
33
views
multiple plotly objects in dynamic RMarkdown tabsets [duplicate]
I have looked at a few similar questions, and havent quite found the same question that I have.
I want to create an RMarkdown which, for each different factor value, creates a heatmap which shows how ...
0
votes
1
answer
40
views
How to create dynamic connection string in shared datasource in SSRS report(.rdl)
I have a requirement to create dynamic connection for SSRS reports where the connection information (Server & DB) will be worked out in c# code, so no interaction with end user selecting(Server or ...
0
votes
1
answer
159
views
Delphi, referenching a TabSheet from another Tabsheet of a pagecontrol
On my main form (frmMain) I host a (Konopka) PageControl (TRzPageControl named pgcMain) with a tabsheet created at design time (pgDashboard). I created at frmMain.Create a dynamic form frm : ...
0
votes
1
answer
103
views
Dynamic pointer arrays
I want to allocate an array of struct pointers, then initialize all the pointers. it is actually a 2D array, but I'm allocating a 1D array, and handling the offset manually. Here's what I have:
// ...
2
votes
0
answers
48
views
mixing static and dynamic callbacks with Dash - how to pass triggers between them
I am trying to build a dash asp that generates a main page from which I can click and generate multiple dynamic pages. When I perform an operation on a dynamic page, I want to pass back a trigger to ...
0
votes
0
answers
43
views
How to dynamically render Flex DataGrid?
My company still uses adobe Flex in a legacy system. My task is to dynamically render a DataGrid based on a list returned from API call. Simply speaking, the number of DataGridColumn, the ...
0
votes
5
answers
104
views
Numbering & dynamic restart of counting in Excel based on different categories
I hope you can help me.
I have a table with text and each text belongs to a category.
I need to add numbering to this text, but when it jumps from one category to another it should also restart ...
0
votes
0
answers
45
views
Fix a layer orientation within a symbol in Illustrator?
I need a symbol in Illustrator, that needs to be rotated differently for each instance. However, a part of it, just one layer, should remain fixed at the same orientation.
I know I can achieve it by ...
2
votes
3
answers
103
views
Looking up and setting elements of java.util.Properties using dot notation in Scala
I am working through Scala For the Impatient by Horstman. I'm not doing this for a class. In the book, he has code that dynamically looks up and sets elements from an instance of java.util....
2
votes
3
answers
107
views
Dynamic Reference Two Named Table Columns via Content in Two Cells
I'm using Microsoft Excel 365 and have uploaded a screenshot of my problem. I have two tables, Table1 on the left and Table2 on the right. Table2 is to take the content from Table1 with its column ...
0
votes
1
answer
54
views
Rendering a React Component Dynamically via Buttons in Nextjs15
Here is a brief description of the structure of the problem. I have a main navbar (Navbar), some links (NavLinks), and a side panel (this is rendered inside Navbar to make things easier).
// Navbar....
0
votes
0
answers
34
views
IRFs Appear Reversed in RBC Model Simulation - Problem with Recursive Shock Application?
I'm trying to simulate a fairly standard RBC model. The equations used in the code are all correct based on the chosen specification, so my question relates more to the implementation side.
...
0
votes
3
answers
86
views
C# Expression to create selector using list of column names to produce new object
I have a list of available database column names as "id, age, location, etc."
I need to create an expression to use it in a EF linq selector like this but in a dynamic way. My user if free ...
1
vote
2
answers
135
views
Dynamically updating and doing math on arrays in Excel
I am dynamically populating an array in Excel from another array in a different sheet based on a criteria and was successful in that but now I wish to auto update the returned total based on another ...
0
votes
0
answers
84
views
Selecting a dynamically supplied table name using Sea Orm in Rust
I'm still very new to Rust & Sea Orm, but that's what the current project I'm working in is.
I'm working on a database focused on users (that's updatable by more than just the Rust/SeaOrm app).
...