Questions tagged [dynamic]

Dynamic is a widely used term that, in general, describes a decision made by the program at run-time rather than at compile time.

Programs that perform some common tasks based on program inputs in contrast with programs that predetermine the task beforehand. Dynamic is often used to mean:

  • The dynamic keyword
  • using JavaScript to manipulate web pages in the browser.
  • have features that allow the of a variable to be bound at run-time.
  • Program generated content, especially content in contrast with web pages created by a person and stored on disk, ready to serve.
27209 questions
6
votes
1 answer

C# Dynamic Loading/Unloading of DLLs Redux (using AppDomain, of course)

I've read as many different version of this question as are on Stack Overflow, as well as every blue link on the front page of 3 different Google searches for tutorials, as well as the MSDN (which is kind of shallow beyond executing assemblies). I…
Adam
  • 355
  • 1
  • 3
  • 14
6
votes
1 answer

Bad interoperability between static and dynamic C#

This question is somewhat an illustration to a related post, I believe the example below describes the essence of the problem. class Program { public static IList GetData(string arg) { return new string[] {"a", "b", "c"}; …
Vagif Abilov
  • 9,835
  • 8
  • 55
  • 100
6
votes
1 answer

calloc fails and returns NULL

in one of our application's module, calloc() is failing and returning NULL. The amount of memory that it is trying to allocate is of structure which is of 9292 bytes. The operating system is AIX 7.1 and running VIOS 2.2.1.3. The machine has 2+GB ram…
kuldeep
  • 817
  • 10
  • 27
6
votes
2 answers

How to parse any constant Lua table preferably without loading it in the Lua VM?

I have a bunch of data in the form of a Lua table and I would like to parse that data into a usable structure in C#. The problem with Lua tables is that there are optional fields, tables are very dynamic and are not just a dictionary with one type…
lesderid
  • 3,388
  • 8
  • 39
  • 65
6
votes
2 answers

how to use my own dynamic library in linux (Makefile)

I have a c++ project (g++/raw Makefile) designed for linux, I used to statically link everything which worked fine for ages. Now I want to build binaries both statically and dynamically linked. The following command is used in my Makefile to build…
Lei
6
votes
4 answers

dynamic array of structs in C

I am trying to learn about structs, pointers, and dynamic arrays in C. I don't understand how to create a dynamic array of structs using pointers. My code doesn't work, and I don't know what's wrong with it. I have seen several examples of dynamic…
cHam
  • 2,624
  • 7
  • 26
  • 28
6
votes
4 answers

qTip Dynamic Width

I am currently using qTip jQuery plugin in combination with Full Calendar. Both of these works great. However, I am currently stuck at an issue. Sometimes, my qTip content has to much data. This gets clipped of as the width and height of the qTip…
RajeshShah
  • 61
  • 1
  • 2
6
votes
2 answers

C# dynamic type causes Console.WriteLine to be resolved with reflection in IL

I've been playing around with some C# statements in LINQPad with a view to understanding what intermediate language code is emitted. I first tried the following code: var Container = new {Name = "James"}; Console.WriteLine(Container.Name); And saw…
James Wiseman
  • 29,946
  • 17
  • 95
  • 158
6
votes
0 answers

How to make a NSTableView with dynamic number of columns and binding in Cocoa /Xcode?

Sorry, I know this is a bit complicated question . Life is easy when I want to make a NSTableview object on screen with fixed number of columns. I just make a data binding to each column and simply read/write to that model (according to MVC). But…
Aug
  • 595
  • 9
  • 22
6
votes
4 answers

Javascript and PHP countdown Timer that displays the same for everyone

I have the script needed to generate a countdown timer that has a start and resume button. What I'm attempting to do is to have Start, stop, and reset buttons on one page that controls the timer on the other page. So if user X visits page.html they…
myth024
  • 196
  • 1
  • 2
  • 12
6
votes
1 answer

C# - Loading .NET Assembly into Separate AppDomain So You Can Unload It

Possible Duplicate: Loading DLLs into a separate AppDomain What is the proper way to load a .NET assembly into a separate AppDomain so you can have access to its Types/Classes but still be able to unload it (and reload it). This is a tangent of…
BuddyJoe
  • 69,735
  • 114
  • 291
  • 466
6
votes
1 answer

Rails Dynamic Validation

How can I dynamically configure a validation in rails? For EXAMPLE if I have validates_length_of :name, within => dynamic The variable "dynamic" will be set by the user. On save, the validation should use the value of the variable "dynamic" to…
phlegx
  • 2,618
  • 3
  • 35
  • 39
6
votes
4 answers

How to store output of recv()?

In C I had working code but have no idea why it worked, so I started rewriting it so I could actually understand what is going on. So far so good! I rewrote and am 90% sure I understand everything that is going on now; the issue however, is that I…
Keith Miller
  • 1,337
  • 1
  • 16
  • 32
6
votes
3 answers

C# dynamic operator

Is it possible to have a dynamic operator in c#? string aString = "5"; int a = 5; int b = 6; string op = "<"; //want to do something like dynamically without checking the value of op if( a op b)
JL.
  • 78,954
  • 126
  • 311
  • 459
6
votes
2 answers

Is SuspendLayout/ResumeLayout worthless or am I going about it wrong?

I have two tab pages hosting TableLayoutPanels that I dynamically populate with labels and textboxes. The first one gets 96 labels and 96 textboxes, and its flicker is acceptable/tolerable, so I didn't bother to add a SuspendLayout/ResumeLayout…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
1 2 3
99
100