473,769 Members | 4,584 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

getting a thread out of sleep

Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to
sleep. How to do this?
thanks
mark
class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )

def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''
Feb 21 '07 #1
11 1954
On Feb 21, 3:08 pm, mark <rkmr...@gmail. comwrote:
Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to
sleep. How to do this?
thanks
mark

class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )

def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''
The way i would do this is by using an threading.Event (
http://docs.python.org/lib/event-objects.html )

<code>

class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.event = threading.Event ()

def run:
while True:
# block until some event happens
self.event.wait ()
""" do stuff here """
self.event.clea r()

</code>

the way to use this is to get the main/separate thread to set() the
event object.
Cheers

Feb 21 '07 #2
On 20 Feb 2007 20:47:57 -0800, placid <Bu****@gmail.c omwrote:
On Feb 21, 3:08 pm, mark <rkmr...@gmail. comwrote:
Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to sleep

class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )
def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''

The way i would do this is by using an threading.Event (
http://docs.python.org/lib/event-objects.html )

<code>

class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.event = threading.Event ()
def run:
while True:
# block until some event happens
self.event.wait ()
""" do stuff here """
self.event.clea r()
</code>

the way to use this is to get the main/separate thread to set() the
event object.
Can you give an example of how to get the main threead to set teh event object?
this is exactly what i wanted to do!
thanks a lot!
mark
Feb 21 '07 #3
On Feb 21, 4:12 pm, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 20:47:57 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 3:08 pm, mark <rkmr...@gmail. comwrote:
Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to sleep
class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )
def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''
The way i would do this is by using an threading.Event (
http://docs.python.org/lib/event-objects.html)
<code>
class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.event = threading.Event ()
def run:
while True:
# block until some event happens
self.event.wait ()
""" do stuff here """
self.event.clea r()
</code>
the way to use this is to get the main/separate thread to set() the
event object.

Can you give an example of how to get the main threead to set teh event object?
this is exactly what i wanted to do!
thanks a lot!
mark
To set the event object

<code>

if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandler.star t()

# do something here #
evtHandler.even t.set()

# do more stuff here #
evtHandler.even t.set()

</code>

Hope thats what your looking for.
Cheers
Feb 21 '07 #4
On Feb 21, 4:21 pm, "placid" <Bul...@gmail.c omwrote:
On Feb 21, 4:12 pm, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 20:47:57 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 3:08 pm, mark <rkmr...@gmail. comwrote:
Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to sleep
class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )
def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''
The way i would do this is by using an threading.Event (
>http://docs.python.org/lib/event-objects.html)
<code>
class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.event = threading.Event ()
def run:
while True:
# block until some event happens
self.event.wait ()
""" do stuff here """
self.event.clea r()
</code>
the way to use this is to get the main/separate thread to set() the
event object.
Can you give an example of how to get the main threead to set teh event object?
this is exactly what i wanted to do!
thanks a lot!
mark

To set the event object

<code>

if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandler.star t()

# do something here #
evtHandler.even t.set()

# do more stuff here #
evtHandler.even t.set()

</code>

Hope thats what your looking for.

Cheers
oops I've miss-typed the thread variable name the following should
work

<code>

if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()

# do something here #
evtHandlerThrea d.event.set()

# do more stuff here #
evtHandlerThrea d.event.set()

</code>

Feb 21 '07 #5
On 20 Feb 2007 21:26:18 -0800, placid <Bu****@gmail.c omwrote:
On Feb 21, 4:21 pm, "placid" <Bul...@gmail.c omwrote:
On Feb 21, 4:12 pm, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 20:47:57 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 3:08 pm, mark <rkmr...@gmail. comwrote:
Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to sleep
class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )
def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''
The way i would do this is by using an threading.Event (
http://docs.python.org/lib/event-objects.html)
<code>
class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.event = threading.Event ()
def run:
while True:
# block until some event happens
self.event.wait ()
""" do stuff here """
self.event.clea r()
</code>
the way to use this is to get the main/separate thread to set() the
event object.
Can you give an example of how to get the main threead to set teh event object?
this is exactly what i wanted to do!
thanks a lot!
mark>
oops I've miss-typed the thread variable name the following should
work

<code>
if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()

# do something here #
evtHandlerThrea d.event.set()

# do more stuff here #
evtHandlerThrea d.event.set()

</code>

Can I have the same thread process two or more events? Can you tell
how to do this? The code you gave is waiting on one event right. How
can I do it for more events?
thanks a lot!
mark
Feb 21 '07 #6
On Feb 22, 3:23 am, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 21:26:18 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 4:21 pm, "placid" <Bul...@gmail.c omwrote:
On Feb 21, 4:12 pm, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 20:47:57 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 3:08 pm, mark <rkmr...@gmail. comwrote:
Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to sleep
class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )
def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''
The way i would do this is by using an threading.Event (
>http://docs.python.org/lib/event-objects.html)
<code>
class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.event = threading.Event ()
def run:
while True:
# block until some event happens
self.event.wait ()
""" do stuff here """
self.event.clea r()
</code>
the way to use this is to get the main/separate thread to set() the
event object.
Can you give an example of how to get the main threead to set teh event object?
this is exactly what i wanted to do!
thanks a lot!
mark>
oops I've miss-typed the thread variable name the following should
work
<code>
if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()
# do something here #
evtHandlerThrea d.event.set()
# do more stuff here #
evtHandlerThrea d.event.set()
</code>

Can I have the same thread process two or more events? Can you tell
how to do this? The code you gave is waiting on one event right. How
can I do it for more events?
thanks a lot!
mark
I don't think a thread can block on more than one event at a time. But
you can make it block on more then one event one at a time.

<code>

class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.events = [threading.Event (), threading.Event ()]
self.currentEve nt = None
def run:
while True:
for event in self.events:
self.currentEve nt = event
# block until some event happens
self.currentEve nt.wait()
""" do stuff here """
self.currentEve nt.clear()

if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()

# do something here #
evtHandlerThrea d.currentEvent. set()

# do more stuff here #
evtHandlerThrea d.currentEvent. set()

</code>

what the thread does is sequentially waits for two events to happen
and then execute the same code. You could change this code to perform
different functions for different event objects.

Cheers

Feb 21 '07 #7
On 21 Feb 2007 14:47:50 -0800, placid <Bu****@gmail.c omwrote:
On Feb 22, 3:23 am, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 21:26:18 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 4:21 pm, "placid" <Bul...@gmail.c omwrote:
On Feb 21, 4:12 pm, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 20:47:57 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 3:08 pm, mark <rkmr...@gmail. comwrote:
Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to sleep
class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )
def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''
The way i would do this is by using an threading.Event (
http://docs.python.org/lib/event-objects.html)
<code>
class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.event = threading.Event ()
def run:
while True:
# block until some event happens
self.event.wait ()
""" do stuff here """
self.event.clea r()
</code>
the way to use this is to get the main/separate thread to set() the
event object.
Can you give an example of how to get the main threead to set teh event object?
this is exactly what i wanted to do!
thanks a lot!
mark>
oops I've miss-typed the thread variable name the following should
work
<code>
if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()
# do something here #
evtHandlerThrea d.event.set()
# do more stuff here #
evtHandlerThrea d.event.set()
</code>
Can I have the same thread process two or more events? Can you tell
how to do this? The code you gave is waiting on one event right. How
can I do it for more events?
thanks a lot!
mark

I don't think a thread can block on more than one event at a time. But
you can make it block on more then one event one at a time.

<code>

class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.events = [threading.Event (), threading.Event ()]
self.currentEve nt = None
def run:
while True:
for event in self.events:
self.currentEve nt = event
# block until some event happens
self.currentEve nt.wait()
""" do stuff here """
self.currentEve nt.clear()

if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()

# do something here #
evtHandlerThrea d.currentEvent. set()

# do more stuff here #
evtHandlerThrea d.currentEvent. set()

</code>

what the thread does is sequentially waits for two events to happen
and then execute the same code. You could change this code to perform
different functions for different event objects.
Once the thread starts it is going to wait on the event that is the
first element of the list right? This would mean :
evtHandlerThrea d.currentEvent. set(): that I have only one event right?
Can you explain how I can have different event objects. I dont see how
I can do different functinos for same event.

Thanks a lot!

mark
Feb 21 '07 #8
On Feb 22, 10:20 am, mark <rkmr...@gmail. comwrote:
On 21 Feb 2007 14:47:50 -0800, placid <Bul...@gmail.c omwrote:
On Feb 22, 3:23 am, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 21:26:18 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 4:21 pm, "placid" <Bul...@gmail.c omwrote:
On Feb 21, 4:12 pm, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 20:47:57 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 3:08 pm, mark <rkmr...@gmail. comwrote:
Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to sleep
class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )
def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''
The way i would do this is by using an threading.Event (
>http://docs.python.org/lib/event-objects.html)
<code>
class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.event = threading.Event ()
def run:
while True:
# block until some event happens
self.event.wait ()
""" do stuff here """
self.event.clea r()
</code>
the way to use this is to get the main/separate thread to set() the
event object.
Can you give an example of how to get the main threead to set teh event object?
this is exactly what i wanted to do!
thanks a lot!
mark>
oops I've miss-typed the thread variable name the following should
work
<code>
if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()
# do something here #
evtHandlerThrea d.event.set()
# do more stuff here #
evtHandlerThrea d.event.set()
</code>
Can I have the same thread process two or more events? Can you tell
how to do this? The code you gave is waiting on one event right. How
can I do it for more events?
thanks a lot!
mark
I don't think a thread can block on more than one event at a time. But
you can make it block on more then one event one at a time.
<code>
class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.events = [threading.Event (), threading.Event ()]
self.currentEve nt = None
def run:
while True:
for event in self.events:
self.currentEve nt = event
# block until some event happens
self.currentEve nt.wait()
""" do stuff here """
self.currentEve nt.clear()
if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()
# do something here #
evtHandlerThrea d.currentEvent. set()
# do more stuff here #
evtHandlerThrea d.currentEvent. set()
</code>
what the thread does is sequentially waits for two events to happen
and then execute the same code. You could change this code to perform
different functions for different event objects.

Once the thread starts it is going to wait on the event that is the
first element of the list right? This would mean :
This is correct.
evtHandlerThrea d.currentEvent. set(): that I have only one event right?
this means that the current event occurred.
Can you explain how I can have different event objects. I dont see how
I can do different functinos for same event.

Thanks a lot!

mark
To run different functions for the same event is easy, just write a
wrapper class around threading.event () and include some method that
you will run and assign this to different functions for each
EventWrapper.

<code>

class EventWrapper():
def __init__(self,w ork ):
self.event = threading.Event ()
self.eventWork = work

def wait(self):
self.event.wait ()

def clear(self)
self.event.clea r()

def eventWork(self) :
print "no work"

class eventhandler(th reading.Thread) :
def __init__(self, events = None):
threading.Threa d.__init__(self )
self.events = events
self.currentEve nt = None
def run:
while True:
if self.events:
for event in self.events:
self.currentEve nt = event
# block until the current event happens
self.currentEve nt.wait()
self.currentEve nt.eventWork()
self.currentEve nt.clear()

def eventOneWork():
# do some event 1 specific work here

def eventTwoWork():
# do some event 2 specific work here

if __name__ == "__main__":
events = [EventWrapper(ev entOneWork),Eve ntWrapper(event TwoWork)]

evtHandlerThrea d = eventhandler(ev ents)
evtHandlerThrea d.start()

# do something here #
evtHandlerThrea d.currentEvent. set()
# do more stuff here #
evtHandlerThrea d.currentEvent. set()

</code>

So you have a EventWrapper class that now contains the Event object
and a workEvent() method which is assigned to a function you create.

Hope this helps.

Cheers

Feb 22 '07 #9
On 21 Feb 2007 16:10:51 -0800, placid <Bu****@gmail.c omwrote:
On Feb 22, 10:20 am, mark <rkmr...@gmail. comwrote:
On 21 Feb 2007 14:47:50 -0800, placid <Bul...@gmail.c omwrote:
On Feb 22, 3:23 am, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 21:26:18 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 4:21 pm, "placid" <Bul...@gmail.c omwrote:
On Feb 21, 4:12 pm, mark <rkmr...@gmail. comwrote:
On 20 Feb 2007 20:47:57 -0800, placid <Bul...@gmail.c omwrote:
On Feb 21, 3:08 pm, mark <rkmr...@gmail. comwrote:
Right now I have a thread that sleeps for sometime and check if an
event has happened and go back to sleep. Now instead I want the thread
to sleep until the event has occured process the event and go back to sleep
class eventhndler(thr eading.Thread):
def __init__(self):
threading.Threa d.__init__(self )
def run(self):
while True:
time.sleep(SLEE PTIME)
''''do event stuff'''
The way i would do this is by using an threading.Event (
http://docs.python.org/lib/event-objects.html)
<code>
class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.event = threading.Event ()
def run:
while True:
# block until some event happens
self.event.wait ()
""" do stuff here """
self.event.clea r()
</code>
the way to use this is to get the main/separate thread to set() the
event object.
Can you give an example of how to get the main threead to set teh event object?
this is exactly what i wanted to do!
thanks a lot!
mark>
oops I've miss-typed the thread variable name the following should
work
<code>
if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()
# do something here #
evtHandlerThrea d.event.set()
# do more stuff here #
evtHandlerThrea d.event.set()
</code>
Can I have the same thread process two or more events? Can you tell
how to do this? The code you gave is waiting on one event right. How
can I do it for more events?
thanks a lot!
mark
I don't think a thread can block on more than one event at a time. But
you can make it block on more then one event one at a time.
<code>
class eventhandler(th reading.Thread) :
def __init__(self):
threading.Threa d.__init__(self )
self.events = [threading.Event (), threading.Event ()]
self.currentEve nt = None
def run:
while True:
for event in self.events:
self.currentEve nt = event
# block until some event happens
self.currentEve nt.wait()
""" do stuff here """
self.currentEve nt.clear()
if __name__ == "__main__":
evtHandlerThrea d = eventhandler()
evtHandlerThrea d.start()
# do something here #
evtHandlerThrea d.currentEvent. set()
# do more stuff here #
evtHandlerThrea d.currentEvent. set()
</code>
what the thread does is sequentially waits for two events to happen
and then execute the same code. You could change this code to perform
different functions for different event objects.
Once the thread starts it is going to wait on the event that is the
first element of the list right? This would mean :

This is correct.
evtHandlerThrea d.currentEvent. set(): that I have only one event right?

this means that the current event occurred.
Can you explain how I can have different event objects. I dont see how
I can do different functinos for same event.

Thanks a lot!

mark

To run different functions for the same event is easy, just write a
wrapper class around threading.event () and include some method that
you will run and assign this to different functions for each
EventWrapper.

<code>

class EventWrapper():
def __init__(self,w ork ):
self.event = threading.Event ()
self.eventWork = work

def wait(self):
self.event.wait ()

def clear(self)
self.event.clea r()

def eventWork(self) :
print "no work"

class eventhandler(th reading.Thread) :
def __init__(self, events = None):
threading.Threa d.__init__(self )
self.events = events
self.currentEve nt = None
def run:
while True:
if self.events:
for event in self.events:
self.currentEve nt = event
# block until the current event happens
self.currentEve nt.wait()
self.currentEve nt.eventWork()
self.currentEve nt.clear()

def eventOneWork():
# do some event 1 specific work here

def eventTwoWork():
# do some event 2 specific work here

if __name__ == "__main__":
events = [EventWrapper(ev entOneWork),Eve ntWrapper(event TwoWork)]

evtHandlerThrea d = eventhandler(ev ents)
evtHandlerThrea d.start()

# do something here #
evtHandlerThrea d.currentEvent. set()
# do more stuff here #
evtHandlerThrea d.currentEvent. set()

</code>

So you have a EventWrapper class that now contains the Event object
and a workEvent() method which is assigned to a function you create.
THanks a lot! Does this have to have event1 and event2 occur in
sequence? Will this still work even if only event2 occurs and event1
never occurs?
thanks
mark
Feb 22 '07 #10

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

Similar topics

8
2305
by: andrewpalumbo | last post by:
I'm trying to write some code which will split up a vector into two halves and run a method on the objects in the vector using two seperate threads. I was hoping to see a near linear speedup on an SMP machine, but I'm finding that the code below takes almost exactly the same amount of time as when I iterate through the vector, and don't use any threads at all (using only one processor). I'm running this on a Dual Athlon machine under...
8
2785
by: Cider123 | last post by:
I ran into a situation where my Window Service had to process 100,000+ files, when I first noticed I needed to tweak various routines. Everything runs fine, but here's what I ran into: In the routine that loops through the file buffer: for (int i=0;i < _Buffer.length; i++) { // Code here
18
6866
by: Zytan | last post by:
I have multiple threads writing to WebBrowser (using a function that checks InvokedRequired, and if so, invokes itself on the WebBrowser thread) and they are getting deadlocked. They only deadlock when I use lock { } around the call to WebBrowser.Write to ensure thread safety! Does any one have experience with such a thing? Zytan
2
3369
by: Steve | last post by:
Hi All, I've been trying to come up with a good way to run a certain process at a timed interval (say every 5 mins) using the SLEEP command and a semaphore flag. The basic thread loop was always sitting in the sleep command and not able to be interrupted. When the time came to set the semaphore flag to false (stopping the thread), my program would have to wait up to the entire sleep time to break out of the loop. I have finally found...
0
10211
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9993
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
8870
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...
1
7406
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
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
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3958
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
3561
muto222
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.