37 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
2
answers
43
views
How to display 2 text in row, text1 can be ellipsis but text2 should be display full length in flutter
Row[Image, Text1, Text2, Image]
Here Text1 is name, Text2 is ID and Image is fixed size25 and need to display at the end of the row.
0
votes
1
answer
255
views
Anylogic: reading excel cells value for dynamic parameters definition
Cheers Everyone,
here is my problem.
I'm creating an Anylogic model trying to make it as flexible as possible. This means that I'm feeding some time values directly from an Excel spreadsheet.
In order ...
0
votes
2
answers
98
views
Within a given dataframe row in R, I want to identify a user-defined function in one cell then apply to adjacent cell
I'm trying to write some code that refers to a data frame column containing user-defined functions, and applies that function to an adjacent column containing raw data.
Specifically, I want to apply ...
0
votes
1
answer
32
views
What is the best to list some images using hmtl / css
I'm trying to find an easy an flexible way to list a collection (amount of images can change) of images on a homepage. I found a solution, but the last image is aligned to the right.
I found this ...
0
votes
0
answers
42
views
A parameter of constructor is "constants", is there a design-pattern / elegant solution?
This is mostly an imaginary problem, no real life situation, but it's simply do depict with.
In this example we cache a point to a directory. I used to have
common.php
define('PATH_TO_CACHE', '/var/...
1
vote
1
answer
397
views
Call nls from within a function in R, passing a user-specified function with any number of arguments
I have a function that uses stats::nls() internally to get parameter estimates for a non-linear model. However, the number of parameters I need the function to estimate is variable and determined by ...
0
votes
1
answer
211
views
How to dynamically access r matrix row names without explicitly calling the names?
A few weeks ago I asked a question on how to extract certain rows from a matrix based on known criteria (How to extract rows with similar names into a submatrix?). The answers received worked ...
1
vote
0
answers
343
views
Inserting abstract Blazor component, open-closed principle
I had no idea how to phrase a good title here.
I'm basically trying to use the open-closed principle, so I don't need to specify precisely which component to render, but just use an interface/abstract ...
2
votes
1
answer
95
views
How to code polymorphic functions under Haskell 98
As a training exercise, I have written a polymorphic function to determine whether a given number is prime to either a single number or all of a list of numbers:
{-# LANGUAGE FlexibleInstances #-}
...
0
votes
1
answer
69
views
I need to use two methods very flexible
First, let me show you my code example:
<?php
class Example
{
public $name;
public function name(string $name)
{
if($name) $this->name = $name;
...
2
votes
4
answers
287
views
How does flexibility affect a language's syntax?
I am currently working on writing my own language(shameless plug), which is centered around flexibility. I am trying to make almost any part of the language syntax exchangeable through things like ...
0
votes
0
answers
371
views
Error using flexibility polyfil
I'm trying to use this polyfill to allow me use flexbox in IE8 and 9, but I'm just getting errors.
I have version 1.0.6 included in my project, as the latest version doesn't work according to the ...
1
vote
1
answer
2k
views
JSTL foreach loop specifying items, begin and end tags with variable for flexibility [duplicate]
Why is it when I try to specify value for begin and end tags with variable for flexibility purposes, they always result to 0 (which is 1st index and thus outputs only 1 entry). [See code below]
<%
...
-2
votes
1
answer
83
views
What database to use for the following scenario?
I have the following problem that I need to solve for efficient querying, and flexible properties expansion:
nodes:
node_id1
node_id2
node_id3
node_id4
node_id5
groups:
node_id1;node_id2;node_id3
...
0
votes
1
answer
4k
views
What is a flexible database?
I've seen many articles about database being flexible and that makes it advantageous. But what makes it like that? What does database flexibility really give, couldn't find any particular info that ...