Remote procedure calls to Python using XML-RPC and JSON-RPC with performance comparision

How to call Python function from Java?

I develop a solar energy simulation software (http://polysun.com). Controllers can be written as plugins. The SimpleRpcPluginController allows to implement controller logic in other programming languages.

Functions from controlFunctions.py starting with "control" are provided as XML-RPC or JSON-RPC.

Measured average time per function call for controlFlowrate() in Python are about:

Setup default profile in Windows 10 from an existing user profile

How to setup a new user profile in Windows 10 from an existing user profile?

Assume: You are in a small company with about 10 people and you have to setup 10 new notebooks with Windows 10. And as a Linux user, you do not have a deep knowledge of Windows 10 setups. Windows provides some automatic configuration tools, but they seem rather complicated.

I setup the notebooks the followiing way:

Get Microsoft Office 2010 and Windows 7 Product Keys from Registry

How to get Microsoft Office 2010 and Windows 7 Product Keys from WindowsRegistry?

Assume: You are in a small company and you want to know which Office and which Windows license is installed on which computer.

The following Visual Basic script extracts the information from your registry. The script works for 64-bit and 32-bit installations.

The result is copied to the clipboard.

Export a MySQL Database with mysqldump in a similar way as phpMyAdmin

phpMyAdmin allows to export MySQL databases in an easy and versatile way. These DB exports can easily imported into other databases, e.g. from a production DB to a local development DB. However, MySQL dumps created by mysqldump cannot be imported easily into other databases. I've written a bash script which exports MySQL DBs in a similar way as phpMyAdmin.

Subscribe to Front page feed