Skip to main content

Questions tagged [dynamic-loading]

Code that loads code at runtime for execution

2 votes
1 answer
154 views

I wrote this preprocessor just to add a couple features to Python (pipes mostly.) Is there any way I could improve it? ...
Xandaaah's user avatar
  • 113
2 votes
1 answer
147 views

I wrote a script that uses an uploaded excel file to import data to the database. It checks for the image first if it can be downloaded without any error then insert the rest of the data. With ten or ...
Benjji's user avatar
  • 21
3 votes
1 answer
392 views

This is my attempt to load shared library on linux (and may be mac - did not test yet) I am interested if I am implementing everything correctly and if I can really use my function in a loop like that....
Nick's user avatar
  • 1,656
2 votes
1 answer
92 views

https://github.com/speedrun-program/load_extender This is the previous post: Lengthening the time it takes to access files using function hooking I tried adding everything from the previous post's ...
my_stack_exchange_account's user avatar
2 votes
1 answer
99 views

https://github.com/speedrun-program/load_extender This is something I made and posted here about a year ago, but I decided to remake it. To compile this on Windows, you need to install EasyHook. ...
my_stack_exchange_account's user avatar
1 vote
1 answer
504 views

There is a file created with the project paths in a dictionary. Example: ...
Javier's user avatar
  • 113
1 vote
1 answer
182 views

After doing much reading of the PHP docs and trying out other developers' autoloader code, below is what I've come up with for an autoloader. It is working as expected so far. Posting the code here ...
knot22's user avatar
  • 469
3 votes
2 answers
1k views

I have multiple pre-compiled dynamic libraries that use the same extern "C" function names. The functions can behave differently for each dynamic library. ...
Greg's user avatar
  • 523
1 vote
1 answer
93 views

I have a class that is importing a CSV file into a Pandas DataFrame. However, this CSV has a multiline header that changes length seemingly at random. Sometimes it is 27 lines, sometimes 31, sometimes ...
GalacticPonderer's user avatar
5 votes
1 answer
2k views

I'm trying to write a factory class that essentially provides a user-friendly frontend to creating objects of different kinds depending on keywords. So the user will just have to import this module, ...
Seamus's user avatar
  • 151
2 votes
0 answers
325 views

Recently, I've explored using rust as a scripting language for unity. My current method involves creating a DLL from rust, and loading it into my game at runtime. It requires that the user use a ...
Dimitri Bobkov's user avatar
4 votes
1 answer
223 views

I needed to dynamically load and instantiate some classes from a generated jar and a generated .class file which depends on that jar. So I came up with this: ...
Hawk's user avatar
  • 216
3 votes
1 answer
168 views

Motivation / Task An apparently trivial problem.... A CLI app tries to make use of box drawing characters. But depending on the stdout device this may not be appropriate so there is a ...
Oliver Schönrock's user avatar
4 votes
0 answers
67 views

In the following script, I am trying to infer if the modules are managed by a conda environment or not and based on that, I am trying to auto install and import the modules. [I skipped around 5 to 6 ...
ShellZero's user avatar
  • 205
11 votes
4 answers
7k views

We have a program with many dependencies. Because the user may not want to use all of them, the program should skip over failed imports and only raise an error if absolutely necessary. e.g. if the ...
QuantumChris's user avatar
  • 1,405

15 30 50 per page
1
2 3 4 5