Questions tagged [dynamic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
82 views

How to implement adaptive routing?

I need to send jobs to worker queues according to resource usage and other metrics like how many jobs have been processed and how successful they were. There is also the need to “weight” these ...
user avatar
  • 11
2 votes
1 answer
308 views

Dynamic execution of Template Literals using a Map

I have a system that is generating internal events for objects. I am extending their debugger to display a human-readable version of the events sent to the debugger. For instance, the system will ...
user avatar
  • 121
0 votes
1 answer
185 views

Is there a design for C# that removes the need for dynamic?

I have a web service that implements Repository Pattern and I was wondering if there is a design in C# that can remove the need for 'dynamic' when injecting it in my method. public interface ...
user avatar
4 votes
3 answers
21k views

Dynamically add/change attributes of values in C#

I want to tag the values of variables with a "quality" attribute that can be changed dynamically during my programs execution. My first thought was to abuse the standard attribute functionality by ...
user avatar
  • 1,967
1 vote
1 answer
498 views

Am I allowed to use a GPL dynamically-linked library if I'm developing on a proprietary runtime engine?

Basically, title. This is just me trying to clarify part of the GPL for myself. Let's say I'm developing a program that compiles and runs on a non-free runtime engine. I'm perfectly willing to ...
user avatar
0 votes
2 answers
72 views

Hide Away Technical Abstraction of an Object from Users without needing Static Rules

I'm an owner of some Product, where I have different clients who use that product, and the attributes of that product alter the experience that my clients have on my page. For an example, lets say ...
user avatar
  • 115
2 votes
1 answer
379 views

Dynamic Scheduling Algorithm

Recently I got interested in scheduling problems or rather dynamic scheduling problem. The problem is that I want to develop some kind of layer in my application which will be polling circa about 50-...
user avatar
20 votes
3 answers
5k views

Professional way to produce a large problem without filling up huge arrays: C++, free memory from part of an array

I'm developing a physics simulation, and as I'm rather new to programming, I keep running into problems when producing large programs (memory issues mainly). I know about dynamic memory allocation and ...
user avatar
8 votes
2 answers
7k views

Why generic interface cannot implement dynamic type?

If it possible IList <dynamic> = new List <dynamic>; or class A <T> { } class B: A <dynamic> { } Why it is not possible to do class U: IEnumerable <dynamic> {} ?
user avatar
  • 268
0 votes
2 answers
990 views

How to create data driven views in AngularJS?

I am building a support web front-end for our team from where we can perform various support functions for a number of different sites at which our products run. This typically involves running some ...
user avatar
  • 121
-1 votes
1 answer
588 views

About Node serving dynamic pages

I am doing a tech test for a job (Web Development) and in the test I need to get data from an API and there is this conditions for the server: Focus on client-side (AngularJS) nodeJS The server must ...
user avatar
  • 113
0 votes
2 answers
261 views

Can there be value types in dynamic languages? [closed]

A value type is one whose instances are themselves saved in variables. A reference type is a type whose instances are saved somewhere and variables only hold the addresses of the instances. Some ...
user avatar
  • 20.7k
1 vote
3 answers
1k views

Addition or deletion of elements of a dynamic array

Is there any consensus among programmers (or a common convention) on the "right way" to deal with the addition or deletion of one or more elements of a dynamic (mutable) array at runtime while ...
user avatar
  • 119
1 vote
1 answer
844 views

Ignoring the generic part of a type while an object is being passed

I have a message class that holds the name of a destination, and a generic variable acting as the message payload public class Message<T> { public string Destination public T Payload ...
user avatar
  • 2,093
8 votes
5 answers
26k views

Implementing a generic/dynamic custom property system in C#

I have an architecture design problem which I think is appropriate for this site. Note that I have made an EDIT to this post below, reflecting my latest potential solution to this problem. General ...
user avatar
  • 81
8 votes
2 answers
518 views

Why don't Python and Ruby make a distinction between declaring and assigning a value to variables?

Two of the most popular dynamically typed scripting languages, Python and Ruby, do not make a distinction in syntax between the declaration of a variable and assignation of a value to it. That is in ...
user avatar
  • 20.7k
2 votes
1 answer
5k views

Differences between Dynamic Dispatch and Dynamic Binding

I've been looking on Google for a clear diffrentiation with examples but couldn't find any. I'm trying to understand the differences between Dynamic Dispatch and Dynamic Binding in Object Oriented ...
user avatar
  • 20.7k
1 vote
1 answer
3k views

Dynamic method creation in python

I have a class that will have a number of external methods that will all call the same smaller set of internal methods. So something like: obj.method_one(a, c) and obj.method_two(a, c) where obj....
user avatar
  • 297
0 votes
2 answers
5k views

Dynamic initialization, how does it work?

I have a question regarding dynamic initialization. Example code void main() { int a = 100; //Statement1 //Statement2 ... float b = 6.32987; //StatementA ... return; } The StatementA allocates ...
user avatar
1 vote
1 answer
83 views

What is the best way to handle dynamic content?

So we run a site where there are elements of the interface that could potentially be changed at any moment in the backend. Specifically we run a web service where certain functions are loaded ...
user avatar
3 votes
1 answer
2k views

Are there security implications to using dynamically-assigned TCP port numbers?

I'm getting pushback from operations for having a server process listen on a dynamically-assigned port number (i.e. it binds a socket to a port number of 0, triggering a dynamic assignment by the OS, ...
user avatar
  • 723
0 votes
1 answer
1k views

Java Dynamic Binding

I am having trouble understanding the OOP Polymorphic principl of Dynamic Binding ( Late Binding ) in Java. I looked for question pertaining to java, and wasn't sure if a overall answer to how dynamic ...
user avatar