473,473 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Seti-like program

Hello

I'd like to consider making a program which is 'seti-like' where I could run
a command-line Python script to just 'do something', and then be able to
launch a viewer program (maybe linux x11 or Windows, possibly over a network
socket) using wxPython to be able to inter-act with it. (Start jobs, view
queue of jobs, modify jobs, etc, or even just watch the work process).

I was wondering if anyone out there had any experience with this, maybe had
an example to share.

I consider seti@home a good example, also maybe Arcserve backup program with
manager.

-Dave

Jul 19 '05 #1
4 1832
Other examples- PCAnyWhere, a Trojan Horse .. :)

Anyway, this is quite simple.
All you realy need is a server with a GUI that listens all the time for
incoming connections,
and a client that will connect to the server and work in the
background.

Here are some thoughts...

- Figure out what action you want the client to do. Make sure you
have a working script that does that already, that could later be
connected to the actual client.
- How much control do you need over the client? do you want to just
send commands and see the result? or do you want to recieve
screenshots, or even "live" view of the client?

Jul 19 '05 #2
I want to have a program download pictures from a netCam (Axis 2100). So, I
want to start & stop, and also see progress (how many photos, are there
errors, did I begin encoding to DivX, etc) for multiple cameras.

-Dave
<db*****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Other examples- PCAnyWhere, a Trojan Horse .. :)

Anyway, this is quite simple.
All you realy need is a server with a GUI that listens all the time for
incoming connections,
and a client that will connect to the server and work in the
background.

Here are some thoughts...

- Figure out what action you want the client to do. Make sure you
have a working script that does that already, that could later be
connected to the actual client.
- How much control do you need over the client? do you want to just
send commands and see the result? or do you want to recieve
screenshots, or even "live" view of the client?

--
http://mail.python.org/mailman/listinfo/python-list


Jul 19 '05 #3
GMane Python wrote:
I'd like to consider making a program which is 'seti-like' where I could run
a command-line Python script to just 'do something', and then be able to
launch a viewer program (maybe linux x11 or Windows, possibly over a network
socket) using wxPython to be able to inter-act with it. (Start jobs, view
queue of jobs, modify jobs, etc, or even just watch the work process).


It depends on your scope of course... If you want the whole framework
involved in a seti-like system, with distribution of tasks and load
balancing etc, I wouldn't try to build a new system like that. I'd use
something like Sun Grid Engine. Actually, I'd use Sun Grid Engine.

Of course, this might be overkill for you. Embedding a socket server
or even a little web server in your Python script might be enough if
you just need to monitor a working program, but for starting new jobs
and job queues etc, SGE is probably the path to follow.

See http://gridengine.sunsource.net/GEDomainFAQ.html

I don't think SGE works on Windows, but it works on the major Unix
dialects, including Linux and Mac OS/X. I'm sure you could write a
Python program that monitors and manages SGE from Windows if you like.

For some other options on distributed operation, see
http://www.thinkware.se/cgi-bin/thin...OtherLanguages

Both CORBA implementations and simpler things like PYRO could help, but
these systems are more aimed at enabling communication between programs
running in a distributed fashion, and I don't think they target tasks
such as job queues, starting and stopping jobs, or load balancing etc.
Jul 19 '05 #4
Magnus Lycka wrote:
Both CORBA implementations and simpler things like PYRO could help, but
these systems are more aimed at enabling communication between programs
running in a distributed fashion, and I don't think they target tasks
such as job queues, starting and stopping jobs, or load balancing etc.


Indeed, not directly. But it would be possible to create such a thing.

And the latest Pyro (3.5 beta, at the moment) contains an interesting
example that automatically partitions a computation task, distributes
the parts among available 'processor' objects, and aggregates the
result. I have supplied a sorting task and a md5 'cracking' task.
It is perhaps not really what was asked, but I think it is at least
a bit relevant to this topic.

--Irmen
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Skip Montanaro | last post by:
Failing to find any obvious references with some googling, I turn to the Python folks who have lots of information about lots of different application domains. I'm sure many of you are aware of...
5
by: Bolin | last post by:
Hi all, A question about smart pointers of constant objects. The problem is to convert from Ptr<T> to Ptr<const T>. I have look up and seen some answers to this question, but I guess I am too...
2
by: Brian Idzik | last post by:
I've successfully setup a xhtml 1.0 strict page with Mozilla & Netscape to display links in a toolbar into an internal <div id='content'> within the same document. The toolbar uses some...
6
by: Abhijeet | last post by:
I was just toying around idea of deleting this from a member function. Was expecting that any acess to member variable or function after deleting sould give me dump(segmetation violation).Cause now...
2
by: Amit | last post by:
please see the following lines of codes : class ABase; // i want to make it non-derivable class Super { private: Super () {}; friend class ABase; };
5
by: Kev | last post by:
Yes this is a very old argument that has already been beaten to death ;o) To allow one instance of a class to copy private/protected values from another Im currently using some simple 'get'...
7
by: Chase Kimball | last post by:
I can play the most intense games devised by the hand of man and my highly overclocked computer does fine. Nothing I can throw at it phases this mechanical marvel, except my MS Access derived...
8
by: Luke Matuszewski | last post by:
I have read all posts about how to detect that url have changed to new page and trigger the event handler then eg. function aidLogout(evt) { if(evt) { /* maybe via analyse of evt object i can...
10
by: Luke | last post by:
Hi. I am trying to make correct layout, here is an example of (dynamically generated content via jsp): http://localhost/www/layout.htm Most outer div is positioned absolute (if not then it...
5
by: W.Sh | last post by:
Hello Everyone! I'm having some issues with javascript that I can't seem to resolve... Basically, I have a very simple code that's supposed to change the innerHTML of a span element whenever I...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.