Questions tagged [flexibility]
38 questions
1
vote
3 answers
Wrong position for col-md-4 in flexible layout with bootstrap
Having some difficulties in resolving this issue (see screenshot). Basically, the fact that the first cell in the second line has a bigger height the 7th cell does not place properly ... Any workarounds? Is there something I am doing wrong?
Code…

gotye
- 958
- 2
- 14
- 33
1
vote
4 answers
Why should I use general classes instead of specific classes
I recently read that I should use general classes instead of specific classes when proramming.
I can't figure out why it is suggested.
example: Let's say that we have a class MyPanel that inherits from JPanel. MyPanel a non-inherited method called…

sfabriece
- 121
- 2
- 10
1
vote
1 answer
How do I create a flexible MVC structure?
As part of the training scheme I am on at the moment, I have been tasked with developing a simple command-line based helpdesk application. The point of the project is to develop our abilities to use design patterns, SOLID principles, MVC…

Daniel Graef
- 201
- 1
- 2
- 6
0
votes
1 answer
cakephp Model Hierarchy
I am using CakePHP for a web application. And I am in very initial stage of development. I am doing designing and developing side by side.
So far, I have 7 tables.
--Site
|--ABC
|--|--BCD [hasMany]
|--|--TED [hasMany]
|--|--NOC [hasOne]
|--|--GED…

Mo3z
- 2,138
- 7
- 21
- 29
0
votes
1 answer
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 to create a delay loop that changes its value…

uGadd
- 7
- 1
0
votes
2 answers
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 the user-defined function stored in column A and…

DP1113111
- 13
- 2
0
votes
1 answer
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 method link on w3 school, but it makes the last…

Jorgensen
- 23
- 4
0
votes
0 answers
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/www/cache');
pixel.php
class Pixel
{
private…

John Smith
- 6,129
- 12
- 68
- 123
0
votes
1 answer
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 phenomenally for the application at the time, but I find…

PDiddyA
- 59
- 1
- 8
0
votes
1 answer
I need to use two methods very flexible
First, let me show you my code example:
name = $name;
else throw new Exception('An argument is…

Ayhan Erdem
- 11
- 2
0
votes
1 answer
performance and flexibility question - how should i categorize my XML files database? using XML or directories?
I am not sure this is the question for this forum.
I am creating a program that uses between 500-1500 files, I would like to know which way is the preferable way to use in-order to categorize my DB.
I am currently categorizing my files from inside…

dinbrca
- 1,101
- 1
- 14
- 30
0
votes
0 answers
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 issues.
I am then calling it using the following code…

Sam Willis
- 4,001
- 7
- 40
- 59
0
votes
1 answer
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 would explain exactly that. Could you please…

iWanabi
- 43
- 1
- 6
0
votes
1 answer
How to build a flexible code hierarchy
So, I have an algorithm, composed of parameters A, B, C and D, and operations X, Y and Z. The objective is to write code that will test all combinations (within a certain range) of A, B, C and D, and possibly change the operations X, Y or Z.
This…

Camandros
- 449
- 6
- 22
0
votes
1 answer
How to customise Flexibility 5 theme for ModX?
Hello i tried to add the link to custom.css in "assets/components/flexibility5/chunks/flex5.header.html"
But changes are not saved even when the file is set as static - even not the setting for static file. The only way to make a change is over FTP…

1GR3
- 349
- 2
- 12