activities that happens or occur dynamically on the program runtime.
Questions tagged [on-the-fly]
186 questions
2
votes
1 answer
Rails: On-the-fly Destroy cascade?
I know that destroy cascade will work if proper relationships are setup in the models, but I want to know whether there is a way to destroy cascade on-the-fly, without needing to have everything setup? Maybe something like model.destroy :cascade?
Or…

Suan
- 34,563
- 13
- 47
- 61
2
votes
3 answers
How to change function parameters during runtime?
I'm a beginner and use Python 2.7. I want to make the definitions parameters to be changeable so I can controll the pause and string output on the fly. Is this possible? I've read some thread stuff but it seems to be more about executing two tasks…

ckarlbe
- 35
- 5
2
votes
0 answers
Write C++ simulation data to HDF5 file on the fly
I am concerned with, I guess, a relatively simple problem.
I currently conduct a simulation where I track time, position and orientation of one particle for a given number of simulation steps.
The task is: Simply write this data to a h5-file on the…

Svennard
- 71
- 1
- 8
2
votes
0 answers
Trigger REST API when a new entry gets inserted into SQL table
So I want to push back the data that recently got inserted into my table to another server through REST API as soon as I get a new record into the SQL table. Because my client wants on the fly data updation to another server.
I'm not sure what…

Shilpa Soni
- 2,034
- 4
- 27
- 38
2
votes
0 answers
How to manage Typescript code for an "on-the-fly" component generation with Angular2+
Trying to generate components on-the-fly (based on this repo)
I am facing an issue: I can generate the html template by reading stored templates using the template const below and assigning it the htmlTemplate for a component (here I named it…

Rudy Del
- 21
- 4
2
votes
1 answer
How to generate nested for loops on the fly in python
Imagine having a list (d) that is made of other lists with different lengths. We want to create a new list that looks like the result bellow. But obviously in this case everything is clear, we have a, b and c so we can create nested loops.
a = [1,…

Ehsan
- 23
- 2
2
votes
1 answer
Angular 4 dynamic component loading using a json schema
I am in process on creating a small poc to try whether is it possible to load components according to a given json data structure. json will provide and array of component selectors. I tried a small example according to the reference materials i…

Dark99
- 81
- 3
- 11
2
votes
1 answer
Create xml on the fly from a string
This is correct program and now running fine :) thank you sir
I am new to Android. I have a String that contains XML format data (its an XML document) that servers returns to me. I want to parse it in Android with XmlResourceParser but it only…

AZ_
- 21,688
- 25
- 143
- 191
2
votes
3 answers
Create array without declaring it first - Ruby
I'm sorry if this question is a dumb one, but I must ask.
In PHP, we can create a array without declaring it first, althought it isn't considered good pratice.
Exercising my newly-knowledge of Ruby, I was writing a code to list the files inside a…

Bored Elf
- 122
- 1
- 1
- 11
2
votes
3 answers
How to convert UTF-8 URDU text to image on the fly in Php?
اردو کے فونٹ کے مسائل
میرے ویب پیچ کے فونٹ ، براوزر کی وجہ سے بدل جاتے ہیں، میں اپنے صفحے کو امیج
بنا کر براوزر کو دینا چایتا ہوں۔
I have tried a number of tutorials / examples and searches. I could not find solution.
A Tip: ( Hope it will…

wasif
- 31
- 6
2
votes
3 answers
On-the-fly thumbnails PHP
I came up with this:

MacMac
- 34,294
- 55
- 151
- 222
2
votes
1 answer
Add file to a zip file with content while it is downloading php
I want to add a file .txt to a zip file with images.
while the zip is downloading, I want to add the file .txt without affecting the original file.
so, is possible to do this? or the only way is unzip the zip file to a temporary folder, then add the…

Neeox
- 21
- 2
2
votes
0 answers
CGPDFDocumentCreateWithProvider taking long time for initialization using CGDataProviderDirectCallbacks dataprovider
CGPDFDocumentCreateWithProvider taking long time for initialization using CGDataProviderDirectCallbacks data provider.
Here is code snippet:
CGDataProviderDirectCallbacks directCallBacks;
directCallBacks.version = 0;
directCallBacks.getBytePointer =…

Mayur Kothawade
- 544
- 4
- 14
2
votes
0 answers
windows file copy internals (on the fly encryption)
I have to write an on-the-fly encryptor for Windows to encrypt all copied files, To implement this I need some detail about how windows FileCopy works.
So I need a description such as the following: the CreateFile is called, creates a destination…

Kamran
- 387
- 1
- 3
- 19
2
votes
0 answers
Possible environments to generate wide range of graphics objects on-the-fly
I am developing an online assessment package for elementary grade math (K-6) Many questions will need to contain graphics such as shown on this image:
https://www.dropbox.com/s/xwsi91l3bp9t3de/samplegraphics.PNG
All graphics needs to be generated…

user3254016
- 33
- 3