activities that happens or occur dynamically on the program runtime.
Questions tagged [on-the-fly]
186 questions
3
votes
1 answer
How to modify a job on the fly in APScheduler?
I have a periodic job. Since its upgrades are needed and I do not want to stop the main code, I wish I could modify/update the job on the fly. I'll demonstrate by simple example.
Main script:
from apscheduler.schedulers.blocking import…

Rok Petric
- 75
- 3
- 9
3
votes
2 answers
Fast on-the-fly image decompression
I need to work with a good amount of 4-bit images. However, it's got to be for J2ME devices, which means great lack of memory. So, could you propose a compression algorithm that could decompress on the fly relatively fast and still have some…

Albus Dumbledore
- 12,368
- 23
- 64
- 105
3
votes
2 answers
Replace text as you type in CKEditor
Is it possible to automatically replace some text with some other directly while typing in CKEditor? Either via plugin, setting or by adding some custom code?
Examples would be to directly replace (c) with ©, or replace double-dash with — (mdash) or…

Stoffe
- 2,744
- 2
- 25
- 24
3
votes
1 answer
Compile function from string on-the-fly in python?
I'm working on a silly project in python that effectively implements a semi-REPL in a web-browser, and I'm stuck on how to cleanly dynamically evaluate code on-the-fly.
Basically, I have a web-form where the user enters a function, which should be…

Fake Name
- 5,556
- 5
- 44
- 66
3
votes
3 answers
How to add helper or component on-the-fly with the controller action method
i don't want to add it as below cause i needed them only once in certain action method
(so do not useless load the memory)
class UsersController extends AppController {
var $name = 'Users';
var $helpers = array('Html', 'Session');
var…

baur79
- 273
- 5
- 18
3
votes
3 answers
laravel5.3 generate download (.txt) on the fly
What's the best way to generate a download (in my case of a .txt file) on the fly? By this I mean without storing the file on the server before. For understanding here's what I need to get done:
public function getDesktopDownload(Request…

wichtel
- 181
- 1
- 3
- 16
3
votes
4 answers
Delphi TStringList wrapper to implement on-the-fly compression
I have an application for storing many strings in a TStringList. The strings will be largely similar to one another and it occurs to me that one could compress them on the fly - i.e. store a given string in terms of a mixture of unique text…

rossmcm
- 5,493
- 10
- 55
- 118
3
votes
2 answers
Is code reload in Erlang limited to only two version?
The ability of Erlang to reload code with ease, without dropping existing connections, is a very attractive proposition, heavily featured as one of the features of the language.
What's not explicitly advertised, however, is that, apparently, you can…

cnst
- 25,870
- 6
- 90
- 122
3
votes
1 answer
Get not registred image size in Wordpress
Is there a way to generate on the fly, an image size that doesn't already exist ?
For example, in my theme, it would be nice if I could get an image size with a function like :
get_image_size($image_id, $length, $width, $cropped)
If the image…

William Ode
- 188
- 3
- 11
3
votes
2 answers
Is it possible to pivot the output from a query?
I have this output from this query:
select Date,Status, count(distinct persons)from TableA where Date='2014-11-04' group by Status;
+------------+------------------------+-------------------------------+
| Date | Status |…

Sallyerik
- 489
- 2
- 11
- 24
3
votes
4 answers
Adding new functionality to an application using on-the-fly class generation
Is it possible to generate subclasses at runtime or while an application is running? If so, how is this achieved and what precautions should be taken to prevent a rogue object wreaking havoc inside an application?
Edit: Title modified from "Class…

James P.
- 19,313
- 27
- 97
- 155
3
votes
1 answer
What technology / method is used to compile Java on the fly ? [video included]
I was watching Notch code Minicraft for the Ludum Dare competition on this twitch VOD and I wonder : what does he use to make the changes he makes in the code take effect instantly in the running instance of the game ?
Twitch link again…

eriksson
- 299
- 1
- 3
- 6
3
votes
1 answer
Updating Simulink Block on the fly?
Is there any way to change the parameters of a block in Simulink on the fly? The model is compiled and running on a xPC-Target. I do have a subsystem (actually a lot of subsystems) and would like to load the params from several xml files and…

Palim Palim
- 31
- 1
3
votes
3 answers
Third party library to convert image into pdf and eps format on the fly?
I have an upcoming .NET project that would require conversion from image (bitmap) into .pdf and .eps format. We would prefer to use third party library tool to do this rather than spending the time to reinvent the wheel. Here is the basic…
user155940
2
votes
1 answer
AVCaptureSession and AudioQueue
I'm newbbie in Objective-C and iOS and I need your help. I would like to take my microphone audio input and redirect it directly inside the speaker output (without passing through a file).
I'm here : using AVCaptureSession to get my microphone…

Cyril
- 31
- 1
- 6