Questions tagged [on-the-fly]

activities that happens or occur dynamically on the program runtime.

186 questions
5
votes
1 answer

Change btRigidBody's position/orientation on-the-fly in Bullet Physics

I know it breaks physics laws, but although there are often practical reasons to change instantaneously the position and orientation of a body in a game, most physic simulation libraries won't allow it, so Bullet Physics won't either. So, I'd…
rraallvv
  • 2,875
  • 6
  • 30
  • 67
5
votes
3 answers

encrypting and/or decrypting large files (AES) on a memory and storage constrained system, with "catastrophe recovery"

I have a fairly generic question, so please pardon if it is a bit vague. So, let's a assume a file of 1GB, that needs to be encrypted and later decrypted on a given system. Problem is that the system has less than 512 mb of free memory and about 1.5…
4
votes
3 answers

Deflate (ZIP) compressing on the fly in Java using InputStream and OutputStream abstraction only. Possible?

I'm currently trying to write a custom streams proxy (let's call it in that way) that can change the content from the given input stream and produce a modified, if necessary, output. This requirement is really necessary because sometimes I have to…
Lyubomyr Shaydariv
  • 20,327
  • 12
  • 64
  • 105
4
votes
2 answers

Generating output in a running haskell program

Coming from (SWI) Prolog I find it very difficult to have Haskell give output on the fly. The simplest example, I'd like Haskell to print something on every iteration: fac 0 = 1 fac n = fac ( n-1 ) * n Or I would like to get output from a program…
Ihmahr
  • 41
  • 1
4
votes
2 answers

Grails create downloadable file on the fly

Briefly: I can make a file, save it in the file system and then make a page with a link to that file, but what if I want a page with links to many files which may not all need to be generated? So my user clicks a link on the list page like:
Mikey
  • 4,692
  • 10
  • 45
  • 73
4
votes
1 answer

PHP on the fly flush xml to zipfile and push download

I create a xml file based on information from my database (xmltv format). These xml files can be quite big - 25-70mb is normal. Now i create the xml file on the fly like this: $xmlWriter = new XMLWriter(); $xmlWriter->openURI('php://output'); and…
Ernst Reidinga
  • 203
  • 2
  • 13
4
votes
2 answers

RedbeanPHP like for nodejs

I like the way RedBeanPHP works, but it is written in PHP. so my question is: Is there any on-the-fly ORM for NodeJs, that works like RedbeanPHP ?
lumat
  • 51
  • 2
4
votes
1 answer

Possible to refresh Django connections on the fly?

Is it possible to add a new database connection to Django on the fly? I have an application that uses multiple databases (django 1.2.1), and while running, it's allowed to create new databases. I'd need to use this new database right away…
Martin Tóth
  • 1,747
  • 3
  • 24
  • 35
4
votes
1 answer

How to do on-the-fly decryption on nginx?

I store encrypted (AES 256) files on nginx. I open them by GET request and use a key as a query parameter. For examaple http://www.my_secure_nginx.com/files/secret_audio.mp3?key=mysecretkey Can you please suggest solution how to do it for nginx…
Oleg Dats
  • 3,933
  • 9
  • 38
  • 61
4
votes
2 answers

Gson - Setting object reference on-the-fly using InstanceCreator

I'm stuck in a problem where I need to set reference of my object being parsed to its child objects during deserialization using Gson and InstanceCreator. To depict the problem, following is the simple representation of classes' structure. public…
waqaslam
  • 67,549
  • 16
  • 165
  • 178
4
votes
3 answers

Refresh slidejs

I'm using slidejs from http://www.slidesjs.com/ and I wanted to refresh the list of images, because I need to add and remove images on the fly. Is there any way to do this? I've tried to use the delete $.fn.pluginName but no luck. Thanks
VeYroN
  • 760
  • 9
  • 19
4
votes
5 answers

JQuery live or something similar with .change()?

I want to do this: http://docs.jquery.com/Events/live#typefn Only .live() doesn't support the change event- any ideas for work arounds? Need to bind a function to some on-the-fly DOM elements, but not until change.
Bob
  • 2,738
  • 3
  • 18
  • 12
4
votes
3 answers

Best way to deal with image thumbnails on news web site (custom CMS based on codeigniter)?

I’ve been thinking a while about the best solution and as much as I read I get more and more confused. There are a lot of different libraries and helpers (most of them are outdated or for CI 1.x) and I really need your help. I have a custom CMS…
MarkC
  • 179
  • 1
  • 4
  • 13
3
votes
1 answer

Load assembly and change source, is it possible and how?

I'm writing .NET On-the-Fly compiler for CLR scripting and want to implement next idea: there is a template file with C# code, I want to read it, create an assembly, load it and amplify source on-the-fly. How can I do that?
abatishchev
  • 98,240
  • 88
  • 296
  • 433
3
votes
1 answer

ffmpeg switch inputs / mapping on-the-fly / while recording

I have a rtsp video-source stream1 and an audio source I currently merge and send to a rtmp-server using: stream1="rtsp://streamurl1" /usr/bin/ffmpeg \ [...] -i "$stream1" \ [...] -itsoffset…
Suuuehgi
  • 4,547
  • 3
  • 27
  • 32
1
2
3
12 13