Accéder au contenu principal

Python Pickler saving live assembly instruction... Pickler can save anything even Virus if you intended to do so...

This following artifact, from Numpy module called np_inline can generate static inline code and it's well known module... Such utility can ( demonstrated thru PDF example to multiply Matrix with a couple of line of Ansi C )...

Despite finding a way to Proove we can use big number Library to insert into a development from my github, fibonacci_offset start to work in a correct way, but crafting the original class FibonacciOffset-> ComputeLevel can compute really big number and can also generated such number it easy overflow after converting a number into C-type from module ctypes...

But after reading the module-pdf from np_inline, it show the function working after compilation ( can not be seen with idle, you need to open a terminal and calling python2.7 ) version I actually work with...

So are doing in this way:
from np_inline import inline_debug as inline

code=r'printf("Program #%i: Hello world.\n",i)
inline('hello_word_example', args=(1,),py_types=((int,'i'),),code=code )

### Showing on terminal, the compilation and finally:
--------------------------------------------------
Program #1: Hello world.
--------------------------------------------------

### This is not bad... but calling it back:
>>>import hello_word_example
### As the name you mention inside inline(...)
### and this time just using Number 2 

>>>hello_word_example.function( 2 )

--------------------------------------------------
Program #2: Hello world.
--------------------------------------------------

### -- Still Correct...
### And saving them... after all it's an object and can possibly stored... Why-not !!!

>>>import cPickle
>>>from cPickle import Pickler, Unpickler
>>>import tempfile

### I am using tempfile because it will always have space for temporary file
### being a standard in Computer-administration, almost all application 
### requires free-space

>>>atemp=tempfile.NamedTemporaryFile()
>>>aPickler=cPickle.Pickler( atemp, -1 )
>>>aPickler.dump( hello_word_example.function )
>>>AFH=open( '/home/maxiste/obj_mem.pkl', 'w+')
>>>atemp.seek(0)
>>>AFH.write( atemp.read() ) 
>>>AFH.close()
>>>del hello_word_example

### The delete operation is really important to remove the module to 
### reload it from Unpickler...

>>> hello_word_example.function( 2 )

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'hello_word_example' is not defined


### Recovering Object with Unpickler
>>>BFH=open( '/home/maxiste/obj_mem.pkl', 'r' )
>>> Dpickler=cPickle.Unpickler( BFH )
>>>hello_word_example=Dpickler.load()
### Now Module is in memory and we can load back
>>>from hello_word_example import *
### Now using Number 3 
>>>function( 3 )

--------------------------------------------------
Program #3: Hello world.
-------------------------------------------------- 
Telling it's important to keep in mind creating a new package and using setuptools directive data([...]) to store any data can store indefinitely your object compiled for your station... Might be problematic if we move toward another kernel version or simply different architecture... But the remaining story is my original New on Zero-install project with autoinstall module can freely transform and Egg out of the Web and installing it like np_inline function inline can compile it and create a module inside Tempfile and be directly Ansi-C code and directly create Assembly code ready to be executed... I do not have direct example like sending a shutdown-signal in Windows as example, but unfortunately the ctype tutorial explain how to load the windll.kernel32 and msvcrt dll too, leaving you unbreath when it's time to load Development back-end to do Administration task while Operator or Administrator had blocked such Entry over Windows Policy Group...

But unfortunately, developping a cluster, and using autoinstall and call a module being available in your personal File-Server can be spreaded fast and allow sometimes application to operate like lightning ...

And I'm working at home under Linux Environment wich is a personal pain creating virus under a ELF structure... Windows I do not own any personal knowledge of how hijacking a program running and today Virus are mostly look like to TSR and are not efficient like virus from 90' to mid-90 which was probably the end of a wage carrying their knowledge out of today technology...



XText may contains errors, syntax errors or lexical error...
XNow with SpellChecking and Editable text. Up to you to get something correct.


  • 1No Interest
  • 2Somewhat good
  • 3Good
  • 4Special.

Posts les plus consultés de ce blog

Les Juges de la cour Sûprème qualifient les tarifs de Trump illégaux, prochaine étape rendre ma communication ACN avec Trump disponible.

 C`est un gros titre et pourtant la prochaine étapes est bel et bien de parler des tarifs illégaux de Donald Trump. N'étant pas visé par l'Acier, bois et aluminium il reste les terres rares et les semi-conducteurs qui sont au cœur de la réalité informatique, la mémoire les disques dure à base de semi-conducteur et mieux encore ce que cache le terme "I'm covering it", dans une discussion avec Donald Trump et l'état des terres rares dans la vie des médias. Il y a la fibre optique hybride de Vidéotron qui contient, Oxide de gallium sour forme de vitre tel la tourmalines et sont pouvoir ionisant et le substrat samarium sur dopage d'étain ou zinc et autres métaux qui ne recouvre pas l'Or. Cette technologie européenne couvrant la technologie DOCSIS. J'étais au centre d'un artifice de support technique multi protocole et favorisé avec Bell, "A.C.N" Canada était un lien avec les Américains de Wasington, mais laissait toutes les technologies d...

I am developper and Network Administrator and I respond to does Won’t Teach to theirs Kids to Code.

 And not yet music composer. But I made A.T.R. with Netracker in the 1990, and i am satisfied to say it's also programming while as simple reality to result it's whats sound producing from this MIDI translation of music sample into note. It's not because it take 20 years to achieve another part of a dream consist to understand code being sound plugin where some L.A.D.S.P.A. teach me howto drive the information and eventually re-create the plugin that turn the electricity down but from plugins activity. But I can say, my case involving having and partner that did the homework job in database to complete code where in a script alike Perl and I did learn from my same example I am showing online and about to expose because the first part is done. In fact it's having the plenty design and the code for 25 year in head since I did this homework in 1999-2000. The worst, I can give demonstration of a complex problem in users need, to have a system that does everything, and some ...

And Madness around !

 Like Pauline Marois we do share problematic interaction with recidivist activities of well known descendant of 'Mad House' resident of Taylor effort ... The one who provide the money to Tesla to make itself great as well, and itself so fortunate to turn into madness, Taylor story at Bareau will eventually tell more but historical truth is the mean. Recidivist of quasi lethal action where expert confirm illness into mental illness are falling apart and sometime forgeted. That's also the family story to let forget and people pretend to make apart. But it's expert case against civil-hand signature to retrieve them temporary. In case of harassing people for specific reason like for Pauline Marois case for hate against women at the power. So you do get the point why a WOMEN WITH ALL THE MONEY AT THE POWER can only bring another recidivist doing the same. I do stay in medical problem avoiding myself seiing myself as LBGTQ2+ because it madness initiated fault of my father bel...