473,657 Members | 2,572 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Converting existing module/objects to threads

I have inheirted some existing code, that i will explain in a moment,
have needed to extend and ultimately should be able to run in threads.
I've done a bunch of work with python but very little with threads and
am looking for some pointers on how to implement, and if the lower
level modules/objects need to be rewritten to use threading.local for
all local variables.

I have a module that communicates with a hardware device, which reads
data off of sensors, that can only talk with one controller at a time.
The controller (my module) needs to (in its simplest form) init,
configure the device, request data, and write out xml, sleep, repeat.

The new request is that the device needs to be queried until a
condition is true, and then start requesting data. So an instance of a
controller needs to be deadicated to a hardware device forever, or
until the program ends....which ever comes first.

This currently works in a non-threaded version, but only for one device
at a time, there is a need to create a single windows(yeach) service
that talks to many of these devices at once. I don't need worker
threads that handle seperate portions of the entire job, i need a
single application to spawn multiple processes to run through the
entire communication from configure to report, sleep until the next
interval time and run again. The communication could last from 1
minute to 10 minutes before it ends.
Here is the code layout in pseudocode.

module.Object - controller.Main - handles all socket communications

class subcontroller(c ontroller.Main) :
def __init__(self,i d,configuration File):
controller.Main .__init__(self)
// instantiate variables and local objects that handle
configuration, logic and data output

def configure(self, configurationFi le):
//read configurationFi le and configure device

def process(self):
while 1:
//based on configuration file, query the device until condition
is true and then write xml, sleep until time to repeat and run again.

within controller there are 5 objects and subcontroller is a sinlge
object that loads other objects from the inherited controller.Syst em

I'm trying to figure out how difficult it is going to be to convert
this to a threaded application. The original controller.Main is built
to talk to devices in series, never in parallel. so no objects are
considered to be thread safe, but no instance of any of the objects
should need to share resources with any other instance of teh same
object. they would all have unique configuration files and talk to
devices on unique ip/ports.

on a unix system, forking,while potentially not optimal, would be a
fine solution, unfortunantely this needs to run on windows.

I know i have left out many details, but hopefully this is enough to at
least enable some kind soles to lend an opinnion or two.

many thanks
jd

Oct 19 '06 #1
9 1404
At Wednesday 18/10/2006 22:02, jd*****@gmail.c om wrote:
>This currently works in a non-threaded version, but only for one device
at a time, there is a need to create a single windows(yeach) service
that talks to many of these devices at once. I don't need worker
threads that handle seperate portions of the entire job, i need a
single application to spawn multiple processes to run through the
entire communication from configure to report, sleep until the next
interval time and run again. The communication could last from 1
minute to 10 minutes before it ends.
Consider using the asyncore module instead of threads.
--
Gabriel Genellina
Softlab SRL

_______________ _______________ _______________ _____
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas

Oct 19 '06 #2
"jd*****@gmail. com" <jd*****@gmail. comwrites:
So an instance of a controller needs to be deadicated to a hardware
device forever, or until the program ends....which ever comes first.
I hope you've got tests in place for both of those conditions :-)

--
\ "How many people here have telekenetic powers? Raise my hand." |
`\ -- Emo Philips |
_o__) |
Ben Finney

Oct 19 '06 #3

jd*****@gmail.c om wrote:
I have inheirted some existing code, that i will explain in a moment,
have needed to extend and ultimately should be able to run in threads.
I've done a bunch of work with python but very little with threads and
am looking for some pointers on how to implement, and if the lower
level modules/objects need to be rewritten to use threading.local for
all local variables.

I have a module that communicates with a hardware device, which reads
data off of sensors, that can only talk with one controller at a time.
The controller (my module) needs to (in its simplest form) init,
configure the device, request data, and write out xml, sleep, repeat.

The new request is that the device needs to be queried until a
condition is true, and then start requesting data. So an instance of a
controller needs to be deadicated to a hardware device forever, or
until the program ends....which ever comes first.

This currently works in a non-threaded version, but only for one device
at a time, there is a need to create a single windows(yeach) service
that talks to many of these devices at once. I don't need worker
threads that handle seperate portions of the entire job, i need a
single application to spawn multiple processes to run through the
entire communication from configure to report, sleep until the next
interval time and run again. The communication could last from 1
minute to 10 minutes before it ends.
Here is the code layout in pseudocode.

module.Object - controller.Main - handles all socket communications

class subcontroller(c ontroller.Main) :
def __init__(self,i d,configuration File):
controller.Main .__init__(self)
// instantiate variables and local objects that handle
configuration, logic and data output

def configure(self, configurationFi le):
//read configurationFi le and configure device

def process(self):
while 1:
//based on configuration file, query the device until condition
is true and then write xml, sleep until time to repeat and run again.

within controller there are 5 objects and subcontroller is a sinlge
object that loads other objects from the inherited controller.Syst em

I'm trying to figure out how difficult it is going to be to convert
this to a threaded application. The original controller.Main is built
to talk to devices in series, never in parallel. so no objects are
considered to be thread safe, but no instance of any of the objects
should need to share resources with any other instance of teh same
object. they would all have unique configuration files and talk to
devices on unique ip/ports.

on a unix system, forking,while potentially not optimal, would be a
fine solution, unfortunantely this needs to run on windows.

I know i have left out many details, but hopefully this is enough to at
least enable some kind soles to lend an opinnion or two.

many thanks
jd
Taking a look at asyncore could be worthwhile, but if you want to
implement it with threads, you may be able to do it this way:

In your main file, from where you start the program, let's call it
main:

main(self)
Load Required configuration
spawn threads (1 for each controller)
define a queue object from module queue.queue used for communication
with threads
enter an infinite loop that checks for the conditions
once conditions are met, notify the proper thread
class ControllerThrea d(threading.Thr ead):
def __init__(self):
define a queue here, to process messages from the main
call threading.Threa d.__init__(self )

define method to load config for thread objects
(you might want to pass an argument to init to load your configs
from a file)
(you might also want to pass the queue of the main program to the
thread to send it messages)
define methods to post messages to the queue like read, send to the
machine, stop, ...

define the run method that is what will be called when you start
your thread.
this method should enter an infinite loop that will check if
something has to be done (check in the queue).

hope this might help you
good luck

Oct 19 '06 #4

Gabriel Genellina wrote:
At Wednesday 18/10/2006 22:02, jd*****@gmail.c om wrote:
This currently works in a non-threaded version, but only for one device
at a time, there is a need to create a single windows(yeach) service
that talks to many of these devices at once. I don't need worker
threads that handle seperate portions of the entire job, i need a
single application to spawn multiple processes to run through the
entire communication from configure to report, sleep until the next
interval time and run again. The communication could last from 1
minute to 10 minutes before it ends.

Consider using the asyncore module instead of threads.
--
Gabriel Genellina
Softlab SRL
I think that is a good point and I am considering using
asyncore/asynchat... i'm a little confused as to how i can make this
model work. There is no server communication without connection from
the client (me), which happens on intervals, not when data is available
on a socket or when the socket is available to be written, which is
always. Basically i need to determine how to trigger the asynchat
process based on time. in another application that i write, i'm the
server and the chat process happens every time the client wakes
up...easy and perfect for asyncore

That is a solution i'd like to persue, but am having a hard time
getting my head around that as well.
>


_______________ _______________ _______________ _____
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
Oct 19 '06 #5

martdi wrote:
jd*****@gmail.c om wrote:
I have inheirted some existing code, that i will explain in a moment,
have needed to extend and ultimately should be able to run in threads.
I've done a bunch of work with python but very little with threads and
am looking for some pointers on how to implement, and if the lower
level modules/objects need to be rewritten to use threading.local for
all local variables.

I have a module that communicates with a hardware device, which reads
data off of sensors, that can only talk with one controller at a time.
The controller (my module) needs to (in its simplest form) init,
configure the device, request data, and write out xml, sleep, repeat.

The new request is that the device needs to be queried until a
condition is true, and then start requesting data. So an instance of a
controller needs to be deadicated to a hardware device forever, or
until the program ends....which ever comes first.

This currently works in a non-threaded version, but only for one device
at a time, there is a need to create a single windows(yeach) service
that talks to many of these devices at once. I don't need worker
threads that handle seperate portions of the entire job, i need a
single application to spawn multiple processes to run through the
entire communication from configure to report, sleep until the next
interval time and run again. The communication could last from 1
minute to 10 minutes before it ends.
Here is the code layout in pseudocode.

module.Object - controller.Main - handles all socket communications

class subcontroller(c ontroller.Main) :
def __init__(self,i d,configuration File):
controller.Main .__init__(self)
// instantiate variables and local objects that handle
configuration, logic and data output

def configure(self, configurationFi le):
//read configurationFi le and configure device

def process(self):
while 1:
//based on configuration file, query the device until condition
is true and then write xml, sleep until time to repeat and run again.

within controller there are 5 objects and subcontroller is a sinlge
object that loads other objects from the inherited controller.Syst em

I'm trying to figure out how difficult it is going to be to convert
this to a threaded application. The original controller.Main is built
to talk to devices in series, never in parallel. so no objects are
considered to be thread safe, but no instance of any of the objects
should need to share resources with any other instance of teh same
object. they would all have unique configuration files and talk to
devices on unique ip/ports.

on a unix system, forking,while potentially not optimal, would be a
fine solution, unfortunantely this needs to run on windows.

I know i have left out many details, but hopefully this is enough to at
least enable some kind soles to lend an opinnion or two.

many thanks
jd

Taking a look at asyncore could be worthwhile, but if you want to
implement it with threads, you may be able to do it this way:

In your main file, from where you start the program, let's call it
main:

main(self)
Load Required configuration
spawn threads (1 for each controller)
define a queue object from module queue.queue used for communication
with threads
enter an infinite loop that checks for the conditions
once conditions are met, notify the proper thread
class ControllerThrea d(threading.Thr ead):
def __init__(self):
define a queue here, to process messages from the main
call threading.Threa d.__init__(self )

define method to load config for thread objects
(you might want to pass an argument to init to load your configs
from a file)
(you might also want to pass the queue of the main program to the
thread to send it messages)
define methods to post messages to the queue like read, send to the
machine, stop, ...

define the run method that is what will be called when you start
your thread.
this method should enter an infinite loop that will check if
something has to be done (check in the queue).

hope this might help you
good luck
thanks for the comments. the ControllerThrea d already extends a class.
does this cause problems with classes that must extent
threading.Threa d. Normally it should not matter, but with threads i'm
unsure. Should i just instantiate the object that i'm normally
extending in the ControllerThrea d.__init__, and call it from the
self.classthatu sedtoextend.met hod(), or does it not matter.

again, thanks.

Oct 19 '06 #6
I am not sure if I understand you question well, but:

in the __init__ of the thread subclass, you can instantiate an object
of the class that makes the work

or

ControllerThrea d could extend both classes and i don't think there
would be a problem.

Problems in multithreading usually happen when many threads try to
access the same ressource at the same time or that one thread waits for
an other thread to finish, and that other thread waits for the first
one to finish. The Queue module is threadsafe and it uses locking to
prevent multiple threads to access it at the same time. Using Queue is
a lot easier than having to manage locks by yourself.

As long as you do not share data between your classes like static
members, database connections, or I/0 on the same ressource, you
probably won't encounter problems.

jd*****@gmail.c om wrote:
martdi wrote:
jd*****@gmail.c om wrote:
I have inheirted some existing code, that i will explain in a moment,
have needed to extend and ultimately should be able to run in threads.
I've done a bunch of work with python but very little with threads and
am looking for some pointers on how to implement, and if the lower
level modules/objects need to be rewritten to use threading.local for
all local variables.
>
I have a module that communicates with a hardware device, which reads
data off of sensors, that can only talk with one controller at a time.
The controller (my module) needs to (in its simplest form) init,
configure the device, request data, and write out xml, sleep, repeat.
>
The new request is that the device needs to be queried until a
condition is true, and then start requesting data. So an instance of a
controller needs to be deadicated to a hardware device forever, or
until the program ends....which ever comes first.
>
This currently works in a non-threaded version, but only for one device
at a time, there is a need to create a single windows(yeach) service
that talks to many of these devices at once. I don't need worker
threads that handle seperate portions of the entire job, i need a
single application to spawn multiple processes to run through the
entire communication from configure to report, sleep until the next
interval time and run again. The communication could last from 1
minute to 10 minutes before it ends.
>
>
Here is the code layout in pseudocode.
>
module.Object - controller.Main - handles all socket communications
>
class subcontroller(c ontroller.Main) :
def __init__(self,i d,configuration File):
controller.Main .__init__(self)
// instantiate variables and local objects that handle
configuration, logic and data output
>
def configure(self, configurationFi le):
//read configurationFi le and configure device
>
def process(self):
while 1:
//based on configuration file, query the device until condition
is true and then write xml, sleep until time to repeat and run again.
>
within controller there are 5 objects and subcontroller is a sinlge
object that loads other objects from the inherited controller.Syst em
>
I'm trying to figure out how difficult it is going to be to convert
this to a threaded application. The original controller.Main is built
to talk to devices in series, never in parallel. so no objects are
considered to be thread safe, but no instance of any of the objects
should need to share resources with any other instance of teh same
object. they would all have unique configuration files and talk to
devices on unique ip/ports.
>
on a unix system, forking,while potentially not optimal, would be a
fine solution, unfortunantely this needs to run on windows.
>
I know i have left out many details, but hopefully this is enough to at
least enable some kind soles to lend an opinnion or two.
>
many thanks
jd
Taking a look at asyncore could be worthwhile, but if you want to
implement it with threads, you may be able to do it this way:

In your main file, from where you start the program, let's call it
main:

main(self)
Load Required configuration
spawn threads (1 for each controller)
define a queue object from module queue.queue used for communication
with threads
enter an infinite loop that checks for the conditions
once conditions are met, notify the proper thread
class ControllerThrea d(threading.Thr ead):
def __init__(self):
define a queue here, to process messages from the main
call threading.Threa d.__init__(self )

define method to load config for thread objects
(you might want to pass an argument to init to load your configs
from a file)
(you might also want to pass the queue of the main program to the
thread to send it messages)
define methods to post messages to the queue like read, send to the
machine, stop, ...

define the run method that is what will be called when you start
your thread.
this method should enter an infinite loop that will check if
something has to be done (check in the queue).

hope this might help you
good luck

thanks for the comments. the ControllerThrea d already extends a class.
does this cause problems with classes that must extent
threading.Threa d. Normally it should not matter, but with threads i'm
unsure. Should i just instantiate the object that i'm normally
extending in the ControllerThrea d.__init__, and call it from the
self.classthatu sedtoextend.met hod(), or does it not matter.

again, thanks.
Oct 19 '06 #7
Making your code run in thread mode isn't the hard part. Just add
this:

import threading

class subcontrollerTh read(threading. Thread, subcontroller):
def __init__(self,i d,configuration File):
threading.Threa d.__init__(self )
subcontroller._ _init__(self,id ,configurationF ile)
def run(self):
self.process()

threads=[]
# Say we have 5 of the subprocesses
for iThread in range(5):
th=subcontrolle rThread(iThread ,configurationF ile)
threads.append( th)
th.start()

....main thread do whatever...
However, you have to make sure the code inside subcontroller is thread
safe. That's a topic in itself.
jd*****@gmail.c om wrote:
I have inheirted some existing code, that i will explain in a moment,
have needed to extend and ultimately should be able to run in threads.
I've done a bunch of work with python but very little with threads and
am looking for some pointers on how to implement, and if the lower
level modules/objects need to be rewritten to use threading.local for
all local variables.

I have a module that communicates with a hardware device, which reads
data off of sensors, that can only talk with one controller at a time.
The controller (my module) needs to (in its simplest form) init,
configure the device, request data, and write out xml, sleep, repeat.

The new request is that the device needs to be queried until a
condition is true, and then start requesting data. So an instance of a
controller needs to be deadicated to a hardware device forever, or
until the program ends....which ever comes first.

This currently works in a non-threaded version, but only for one device
at a time, there is a need to create a single windows(yeach) service
that talks to many of these devices at once. I don't need worker
threads that handle seperate portions of the entire job, i need a
single application to spawn multiple processes to run through the
entire communication from configure to report, sleep until the next
interval time and run again. The communication could last from 1
minute to 10 minutes before it ends.
Here is the code layout in pseudocode.

module.Object - controller.Main - handles all socket communications

class subcontroller(c ontroller.Main) :
def __init__(self,i d,configuration File):
controller.Main .__init__(self)
// instantiate variables and local objects that handle
configuration, logic and data output

def configure(self, configurationFi le):
//read configurationFi le and configure device

def process(self):
while 1:
//based on configuration file, query the device until condition
is true and then write xml, sleep until time to repeat and run again.

within controller there are 5 objects and subcontroller is a sinlge
object that loads other objects from the inherited controller.Syst em

I'm trying to figure out how difficult it is going to be to convert
this to a threaded application. The original controller.Main is built
to talk to devices in series, never in parallel. so no objects are
considered to be thread safe, but no instance of any of the objects
should need to share resources with any other instance of teh same
object. they would all have unique configuration files and talk to
devices on unique ip/ports.

on a unix system, forking,while potentially not optimal, would be a
fine solution, unfortunantely this needs to run on windows.

I know i have left out many details, but hopefully this is enough to at
least enable some kind soles to lend an opinnion or two.

many thanks
jd
Oct 19 '06 #8
At Thursday 19/10/2006 00:01, jd*****@gmail.c om wrote:
Consider using the asyncore module instead of threads.

I think that is a good point and I am considering using
asyncore/asynchat... i'm a little confused as to how i can make this
model work. There is no server communication without connection from
the client (me), which happens on intervals, not when data is available
on a socket or when the socket is available to be written, which is
always. Basically i need to determine how to trigger the asynchat
process based on time. in another application that i write, i'm the
server and the chat process happens every time the client wakes
up...easy and perfect for asyncore

That is a solution i'd like to persue, but am having a hard time
getting my head around that as well.
You have to write your own dispatcher (inheriting from async_chat) as
any other protocol. You can call asyncore.loop whith count=1 (or 10,
but not None, so it returns after a few iterations) inside your *own*
loop. Inside your loop, when time comes, call
your_dispatcher .push(data) so the channel gets data to be sent.
Override collect_incomin g_data() to get the response.
You can keep your pending requests in a priority queue (sorted by
time) and check the current time against the top element's time.

Maybe you could successfully implement your application using threads
- if none uses global variables, and no thread waits for another, it
may be safe. But I prefer to avoid threads whenever possible, at
least because debugging the application becomes harder.
--
Gabriel Genellina
Softlab SRL

_______________ _______________ _______________ _____
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas

Oct 19 '06 #9
<jd*****@gmail. comwrote:
I have inheirted some existing code, that i will explain in a moment,
have needed to extend and ultimately should be able to run in threads.
I've done a bunch of work with python but very little with threads and
am looking for some pointers on how to implement, and if the lower
level modules/objects need to be rewritten to use threading.local for
all local variables.

I have a module that communicates with a hardware device, which reads
data off of sensors, that can only talk with one controller at a time.
The controller (my module) needs to (in its simplest form) init,
configure the device, request data, and write out xml, sleep, repeat.

The new request is that the device needs to be queried until a
condition is true, and then start requesting data. So an instance of a
controller needs to be deadicated to a hardware device forever, or
until the program ends....which ever comes first.

This currently works in a non-threaded version, but only for one device
at a time, there is a need to create a single windows(yeach) service
that talks to many of these devices at once. I don't need worker
threads that handle seperate portions of the entire job, i need a
single application to spawn multiple processes to run through the
entire communication from configure to report, sleep until the next
interval time and run again. The communication could last from 1
minute to 10 minutes before it ends.
8<------------------------------------------------------------------------------

not sure if I understand this correctly - but I would in this position spawn new
threads, and use a global list of queues to interface between the new threads
and the old comms module, still talking to one device at a time, but now time
sliced. - in the comms module:

for q in list_of_queues:
see if anything to ask:
continue if not
ask it and put answer on reply queue

but then I am a Philistine coder, interested only in getting the job done...

- Hendrik
Oct 20 '06 #10

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

Similar topics

8
2754
by: Torsten Mohr | last post by:
Hi, i write an extension module in C at the moment. This module does some work on some own data types that consist of some values. The functions that can change the data are written in C. The question came up if this is by itself thread safe, if some two or more threads try to change these data types, are the C functions by themselves are "atomic" or can they
5
2566
by: nicolas_riesch | last post by:
Does someone know if the module pytz (http://sourceforge.net/projects/pytz/) is thread-safe ? I have not seen it explicitely stated, and just wanted to be sure, as I want to use it. That's because in the file pytz/tzinfo.py, I see global variables _timedelta_cache, _datetime_cache, _ttinfo_cache, which are dictionnaries and are used as cache. I always thought that you must protect shared data with locks when multithreading, but I don't...
1
1099
by: Paul Bromley | last post by:
Please help with this one - I have scoured the newsgroups for information on this, and all of the responses relate to how to refernce controls on a NEW instanc of a form and not an exitsing one. I wish to access controls on an EXISTING instance of my form from a module. I have found one suggestion mentioned twice that works well - is this a corect way of achieving this aim, or is there a neater alternative:- The answer that I have...
17
18415
by: Paul Helmuth | last post by:
All, (here's an easy one)... This is probably a stupid question - please bare with me as I am new to dotNet. How does one reference objects on a form from a module? In 6.0 you could simply provide the form name as a prefix to the object within the form and that would do it (kind of like providing a fully qualified path name to a
0
1209
by: Al Fatykhov | last post by:
Using MABLE logic engine with existing .NET applications. MABLE web services provide an interface to MABLE business objects and logic. Let us review some technical details of the MABLE web services. · MABLE utilizes SOAP 1.2 protocol. · MABLE uses AXIS 1.4 as a web service transport. · MABLE support state-full conversations by implementing a conversation session.
3
5867
by: cheesecaker | last post by:
For some reason, when PHP starts, it doesn't want to load some extensions that I KNOW are there. Here's the startup log: Parent: Received restart signal -- Restarting the server. Child 5176: Exit event signaled. Child process is ending. PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Apache2\php5\ext\php_exif.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to...
0
1482
by: =?ISO-8859-1?Q?S=E9bastien_Sabl=E9?= | last post by:
WHAT IS IT: The Sybase module provides a Python interface to the Sybase relational database system. It supports all of the Python Database API, version 2.0 with extensions. The module is available here: http://downloads.sourceforge.net/python-sybase/python-sybase-0.39.tar.gz
6
1630
by: sturlamolden | last post by:
I sometimes read python-dev, but never contribute. So I'll post my rant here instead. I completely support adding this module to the standard lib. Get it in as soon as possible, regardless of PEP deadlines or whatever. I don't see pyprocessing as a drop-in replacement for the threading module. Multi-threading and multi-processing code tend to be different, unless something like mutable objects in shared memory is used as well (cf....
11
3897
by: Keith Hughitt | last post by:
Hi, I am having a little trouble figuring out how to convert a python datetime to UTC. I have a UTC date (e.g. 2008-07-11 00:00:00). I would like to create a UTC date so that when I send it to MySQL (which treats all dates at local dates by default), it will already have incorporated the proper UTC offset. I've tried looking through the docs http://python.active-venture.com/lib/datetime-datetime.html), but have not had any luck.
0
8425
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8326
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8522
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7355
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5647
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2745
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1736
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.