I have a map in a game. I need to make a list with all visible objects for a
player
So, any building and any unit offer a range of visibility over the map.
Now VB question:
How can I store the references of that visible objects in a collection, to
make sure I added one object only once...?
Moreover ..how to determine if a certain object belong to the visible
list...
I could have a GraphicsPath from all regions visible to the the Player and
iterate through all other players's objects, and check out if it is inside
the visible GraphicsPath, but I noticed that GraphicsPath.IsVisible is very
slow even with 2 circles added to the path...
Any thoughts?
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------ 11 1115
I am sorry I am not good at English.
But I can still guess what you want to express.
I can't express my thoughts clearly in English,so I try to
use some Example.
You can make a table of that map your have infered.
This table have a X,Y location.An array can eailsy store
it, A(640,480) restores an map's information which size
is 640*480.If you have a unit Called marine ,it's vision
sight is 10,and this marine's position is (400,300).Then
for i=400-10 to 400+10
for j=300-10 to 300+10
If a(i,j)=0 then
A(i,j)=1
End if
next
next
If another Marine come to nearbY, you can do same
operation too.
Wish this can help you .
Best Regards Menu Chen
And I only have to ckeck for each other object if it's location is 0 or 1 in
that array... good ideea
This way, no need for GraphPath
Say around, I may have some other q for you and seems you are up to date on
this issues :)
Thanks
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl... I am sorry I am not good at English. But I can still guess what you want to express. I can't express my thoughts clearly in English,so I try to use some Example. You can make a table of that map your have infered. This table have a X,Y location.An array can eailsy store it, A(640,480) restores an map's information which size is 640*480.If you have a unit Called marine ,it's vision sight is 10,and this marine's position is (400,300).Then for i=400-10 to 400+10 for j=300-10 to 300+10 If a(i,j)=0 then A(i,j)=1 End if next next If another Marine come to nearbY, you can do same operation too. Wish this can help you .
Best Regards Menu Chen
* "Crirus" <Cr****@datagroup.ro> scripsit: I have a map in a game. I need to make a list with all visible objects for a player So, any building and any unit offer a range of visibility over the map.
Now VB question:
How can I store the references of that visible objects in a collection, to make sure I added one object only once...?
You can add them to a 'Hashtable'.
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
<http://www.plig.net/nnq/nquote.html>
Oh,I see.
I know now my solution is slow.
Have you ever played a game by Blizzard called
starcraft.Do you mean to make the effects like what it
have done? I think ther original map is all visible for
player.And when you place the black fog on it ,it will
seem as if there is a vision for each unit.I mean there
were be two layers on your program.One is covered by
another. So ,you didn't have to check the array every
time. Just place the fog one time and give the attention
to each change. for example ,if a marine move , his vision
will change withe him .And this time ,what you have to do
all is change the array and modify the the upper layer.You
don't have to redraw all the map now .In ohter words ,the
fog Layer can be seen as a picture paint on black.And when
you want to show the vision of a unit,just make modify the
picture's by pixels.
Say Sorry for my poor English again.
Wish this help.
Best Regards. -----Original Message----- And I only have to ckeck for each other object if it's
location is 0 or 1 inthat array... good ideea
This way, no need for GraphPath
Say around, I may have some other q for you and seems you
are up to date onthis issues :)
Thanks
-- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all
from you ------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote
in messagenews:09****************************@phx.gbl... I am sorry I am not good at English. But I can still guess what you want to express. I can't express my thoughts clearly in English,so I try
to use some Example. You can make a table of that map your have infered. This table have a X,Y location.An array can eailsy store it, A(640,480) restores an map's information which size is 640*480.If you have a unit Called marine ,it's vision sight is 10,and this marine's position is (400,300).Then for i=400-10 to 400+10 for j=300-10 to 300+10 If a(i,j)=0 then A(i,j)=1 End if next next If another Marine come to nearbY, you can do same operation too. Wish this can help you .
Best Regards Menu Chen
.
That is not a problem, neither your english.. I understand it...
I just was looking for a way to filte only visible objects from a specific
player point of view
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl... Oh,I see. I know now my solution is slow. Have you ever played a game by Blizzard called starcraft.Do you mean to make the effects like what it have done? I think ther original map is all visible for player.And when you place the black fog on it ,it will seem as if there is a vision for each unit.I mean there were be two layers on your program.One is covered by another. So ,you didn't have to check the array every time. Just place the fog one time and give the attention to each change. for example ,if a marine move , his vision will change withe him .And this time ,what you have to do all is change the array and modify the the upper layer.You don't have to redraw all the map now .In ohter words ,the fog Layer can be seen as a picture paint on black.And when you want to show the vision of a unit,just make modify the picture's by pixels. Say Sorry for my poor English again. Wish this help. Best Regards.
-----Original Message----- And I only have to ckeck for each other object if it's location is 0 or 1 inthat array... good ideea
This way, no need for GraphPath
Say around, I may have some other q for you and seems you are up to date onthis issues :)
Thanks
-- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all from you ------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote
in messagenews:09****************************@phx.gbl... I am sorry I am not good at English. But I can still guess what you want to express. I can't express my thoughts clearly in English,so I try to use some Example. You can make a table of that map your have infered. This table have a X,Y location.An array can eailsy store it, A(640,480) restores an map's information which size is 640*480.If you have a unit Called marine ,it's vision sight is 10,and this marine's position is (400,300).Then for i=400-10 to 400+10 for j=300-10 to 300+10 If a(i,j)=0 then A(i,j)=1 End if next next If another Marine come to nearbY, you can do same operation too. Wish this can help you .
Best Regards Menu Chen
.
Sorry ,this time I can't quite follow you.(Just because my
poor English Understanding.)
May you give me a example to descirbe your question
clearly. -----Original Message----- That is not a problem, neither your english.. I
understand it...I just was looking for a way to filte only visible
objects from a specificplayer point of view
-- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all
from you ------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote
in messagenews:06****************************@phx.gbl... Oh,I see. I know now my solution is slow. Have you ever played a game by Blizzard called starcraft.Do you mean to make the effects like what it have done? I think ther original map is all visible for player.And when you place the black fog on it ,it will seem as if there is a vision for each unit.I mean there were be two layers on your program.One is covered by another. So ,you didn't have to check the array every time. Just place the fog one time and give the attention to each change. for example ,if a marine move , his
vision will change withe him .And this time ,what you have to
do all is change the array and modify the the upper
layer.You don't have to redraw all the map now .In ohter
words ,the fog Layer can be seen as a picture paint on black.And
when you want to show the vision of a unit,just make modify
the picture's by pixels. Say Sorry for my poor English again. Wish this help. Best Regards.
>-----Original Message----- >And I only have to ckeck for each other object if it's location is 0 or 1 in >that array... good ideea > >This way, no need for GraphPath > >Say around, I may have some other q for you and seems
you are up to date on >this issues :) > >Thanks > >-- >Ceers, > Crirus > >------------------------------ >If work were a good thing, the boss would take it all from you > >------------------------------ > >"Menu Chen" <an*******@discussions.microsoft.com> wrote in message >news:09****************************@phx.gbl... >> I am sorry I am not good at English. >> But I can still guess what you want to express. >> I can't express my thoughts clearly in English,so I
try to >> use some Example. >> You can make a table of that map your have infered. >> This table have a X,Y location.An array can eailsy
store >> it, A(640,480) restores an map's information which
size >> is 640*480.If you have a unit Called marine ,it's
vision >> sight is 10,and this marine's position is
(400,300).Then >> for i=400-10 to 400+10 >> for j=300-10 to 300+10 >> If a(i,j)=0 then >> A(i,j)=1 >> End if >> next >> next >> If another Marine come to nearbY, you can do same >> operation too. >> Wish this can help you . >> >> >> Best Regards Menu Chen >> >> > > >. >
.
Finaly
I know what you want to say.
U mean,how to make sure whether Marine A is in Marine B's
vision?
I will think about it.
Best regards. -----Original Message----- That is not a problem, neither your english.. I
understand it...I just was looking for a way to filte only visible
objects from a specificplayer point of view
-- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all
from you ------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote
in messagenews:06****************************@phx.gbl... Oh,I see. I know now my solution is slow. Have you ever played a game by Blizzard called starcraft.Do you mean to make the effects like what it have done? I think ther original map is all visible for player.And when you place the black fog on it ,it will seem as if there is a vision for each unit.I mean there were be two layers on your program.One is covered by another. So ,you didn't have to check the array every time. Just place the fog one time and give the attention to each change. for example ,if a marine move , his
vision will change withe him .And this time ,what you have to
do all is change the array and modify the the upper
layer.You don't have to redraw all the map now .In ohter
words ,the fog Layer can be seen as a picture paint on black.And
when you want to show the vision of a unit,just make modify
the picture's by pixels. Say Sorry for my poor English again. Wish this help. Best Regards.
>-----Original Message----- >And I only have to ckeck for each other object if it's location is 0 or 1 in >that array... good ideea > >This way, no need for GraphPath > >Say around, I may have some other q for you and seems
you are up to date on >this issues :) > >Thanks > >-- >Ceers, > Crirus > >------------------------------ >If work were a good thing, the boss would take it all from you > >------------------------------ > >"Menu Chen" <an*******@discussions.microsoft.com> wrote in message >news:09****************************@phx.gbl... >> I am sorry I am not good at English. >> But I can still guess what you want to express. >> I can't express my thoughts clearly in English,so I
try to >> use some Example. >> You can make a table of that map your have infered. >> This table have a X,Y location.An array can eailsy
store >> it, A(640,480) restores an map's information which
size >> is 640*480.If you have a unit Called marine ,it's
vision >> sight is 10,and this marine's position is
(400,300).Then >> for i=400-10 to 400+10 >> for j=300-10 to 300+10 >> If a(i,j)=0 then >> A(i,j)=1 >> End if >> next >> next >> If another Marine come to nearbY, you can do same >> operation too. >> Wish this can help you . >> >> >> Best Regards Menu Chen >> >> > > >. >
.
In fact, My goal for this question was how to filter objects on the map from
a certain player point of view....
I mean, I ned a list with all object a player see and you gave me the
solution with that array :)
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote in message
news:07****************************@phx.gbl... Finaly I know what you want to say. U mean,how to make sure whether Marine A is in Marine B's vision? I will think about it. Best regards.
-----Original Message----- That is not a problem, neither your english.. I understand it...I just was looking for a way to filte only visible objects from a specificplayer point of view
-- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all from you ------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote
in messagenews:06****************************@phx.gbl... Oh,I see. I know now my solution is slow. Have you ever played a game by Blizzard called starcraft.Do you mean to make the effects like what it have done? I think ther original map is all visible for player.And when you place the black fog on it ,it will seem as if there is a vision for each unit.I mean there were be two layers on your program.One is covered by another. So ,you didn't have to check the array every time. Just place the fog one time and give the attention to each change. for example ,if a marine move , his vision will change withe him .And this time ,what you have to do all is change the array and modify the the upper layer.You don't have to redraw all the map now .In ohter words ,the fog Layer can be seen as a picture paint on black.And when you want to show the vision of a unit,just make modify the picture's by pixels. Say Sorry for my poor English again. Wish this help. Best Regards.
>-----Original Message----- >And I only have to ckeck for each other object if it's location is 0 or 1 in >that array... good ideea > >This way, no need for GraphPath > >Say around, I may have some other q for you and seems you are up to date on >this issues :) > >Thanks > >-- >Ceers, > Crirus > >------------------------------ >If work were a good thing, the boss would take it all from you > >------------------------------ > >"Menu Chen" <an*******@discussions.microsoft.com> wrote in message >news:09****************************@phx.gbl... >> I am sorry I am not good at English. >> But I can still guess what you want to express. >> I can't express my thoughts clearly in English,so I try to >> use some Example. >> You can make a table of that map your have infered. >> This table have a X,Y location.An array can eailsy store >> it, A(640,480) restores an map's information which size >> is 640*480.If you have a unit Called marine ,it's vision >> sight is 10,and this marine's position is (400,300).Then >> for i=400-10 to 400+10 >> for j=300-10 to 300+10 >> If a(i,j)=0 then >> A(i,j)=1 >> End if >> next >> next >> If another Marine come to nearbY, you can do same >> operation too. >> Wish this can help you . >> >> >> Best Regards Menu Chen >> >> > > >. >
.
Hi Menu Chen,
Have an ICQ?
mine is 94678098
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote in message
news:07****************************@phx.gbl... Finaly I know what you want to say. U mean,how to make sure whether Marine A is in Marine B's vision? I will think about it. Best regards.
-----Original Message----- That is not a problem, neither your english.. I understand it...I just was looking for a way to filte only visible objects from a specificplayer point of view
-- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all from you ------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote
in messagenews:06****************************@phx.gbl... Oh,I see. I know now my solution is slow. Have you ever played a game by Blizzard called starcraft.Do you mean to make the effects like what it have done? I think ther original map is all visible for player.And when you place the black fog on it ,it will seem as if there is a vision for each unit.I mean there were be two layers on your program.One is covered by another. So ,you didn't have to check the array every time. Just place the fog one time and give the attention to each change. for example ,if a marine move , his vision will change withe him .And this time ,what you have to do all is change the array and modify the the upper layer.You don't have to redraw all the map now .In ohter words ,the fog Layer can be seen as a picture paint on black.And when you want to show the vision of a unit,just make modify the picture's by pixels. Say Sorry for my poor English again. Wish this help. Best Regards.
>-----Original Message----- >And I only have to ckeck for each other object if it's location is 0 or 1 in >that array... good ideea > >This way, no need for GraphPath > >Say around, I may have some other q for you and seems you are up to date on >this issues :) > >Thanks > >-- >Ceers, > Crirus > >------------------------------ >If work were a good thing, the boss would take it all from you > >------------------------------ > >"Menu Chen" <an*******@discussions.microsoft.com> wrote in message >news:09****************************@phx.gbl... >> I am sorry I am not good at English. >> But I can still guess what you want to express. >> I can't express my thoughts clearly in English,so I try to >> use some Example. >> You can make a table of that map your have infered. >> This table have a X,Y location.An array can eailsy store >> it, A(640,480) restores an map's information which size >> is 640*480.If you have a unit Called marine ,it's vision >> sight is 10,and this marine's position is (400,300).Then >> for i=400-10 to 400+10 >> for j=300-10 to 300+10 >> If a(i,j)=0 then >> A(i,j)=1 >> End if >> next >> next >> If another Marine come to nearbY, you can do same >> operation too. >> Wish this can help you . >> >> >> Best Regards Menu Chen >> >> > > >. >
.
I am sorry.I don't have ICQ.For our Company did not open
the port for us to use any communication tool.And I even
haven't apply for a number yet.
I have an advise for you.
I know what you want to do now.In fact,I think you can
give echo of the unit of the map a KEYID.This KEYID can be
write in the Unit Class.And there will be many KeyID in
the certain player's vision list.When the unit class is
disposed ,remove the KeyID from the vision list.Now you
can make sure that one Unit won't be add to list twice.
Wish this Help .
Best Regards. -----Original Message----- Hi Menu Chen, Have an ICQ? mine is 94678098 -- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all
from you ------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote
in messagenews:07****************************@phx.gbl... Finaly I know what you want to say. U mean,how to make sure whether Marine A is in Marine
B's vision? I will think about it. Best regards.
>-----Original Message----- >That is not a problem, neither your english.. I understand it... >I just was looking for a way to filte only visible objects from a specific >player point of view > >-- >Ceers, > Crirus > >------------------------------ >If work were a good thing, the boss would take it all from you > >------------------------------ > >"Menu Chen" <an*******@discussions.microsoft.com> wrote in message >news:06****************************@phx.gbl... >> Oh,I see. >> I know now my solution is slow. >> Have you ever played a game by Blizzard called >> starcraft.Do you mean to make the effects like what
it >> have done? I think ther original map is all visible
for >> player.And when you place the black fog on it ,it
will >> seem as if there is a vision for each unit.I mean
there >> were be two layers on your program.One is covered by >> another. So ,you didn't have to check the array every >> time. Just place the fog one time and give the
attention >> to each change. for example ,if a marine move , his vision >> will change withe him .And this time ,what you have
to do >> all is change the array and modify the the upper layer.You >> don't have to redraw all the map now .In ohter words ,the >> fog Layer can be seen as a picture paint on black.And when >> you want to show the vision of a unit,just make
modify the >> picture's by pixels. >> Say Sorry for my poor English again. >> Wish this help. >> Best Regards. >> >> >> >> >> >> >-----Original Message----- >> >And I only have to ckeck for each other object if
it's >> location is 0 or 1 in >> >that array... good ideea >> > >> >This way, no need for GraphPath >> > >> >Say around, I may have some other q for you and
seems you >> are up to date on >> >this issues :) >> > >> >Thanks >> > >> >-- >> >Ceers, >> > Crirus >> > >> >------------------------------ >> >If work were a good thing, the boss would take it
all >> from you >> > >> >------------------------------ >> > >> >"Menu Chen" <an*******@discussions.microsoft.com>
wrote >> in message >> >news:09****************************@phx.gbl... >> >> I am sorry I am not good at English. >> >> But I can still guess what you want to express. >> >> I can't express my thoughts clearly in English,so
I try >> to >> >> use some Example. >> >> You can make a table of that map your have
infered. >> >> This table have a X,Y location.An array can eailsy store >> >> it, A(640,480) restores an map's information
which size >> >> is 640*480.If you have a unit Called marine ,it's vision >> >> sight is 10,and this marine's position is (400,300).Then >> >> for i=400-10 to 400+10 >> >> for j=300-10 to 300+10 >> >> If a(i,j)=0 then >> >> A(i,j)=1 >> >> End if >> >> next >> >> next >> >> If another Marine come to nearbY, you can do same >> >> operation too. >> >> Wish this can help you . >> >> >> >> >> >> Best Regards Menu
Chen >> >> >> >> >> > >> > >> >. >> > > > >. >
.
I solved that allready... thanks anyway
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote in message
news:04****************************@phx.gbl... I am sorry.I don't have ICQ.For our Company did not open the port for us to use any communication tool.And I even haven't apply for a number yet. I have an advise for you. I know what you want to do now.In fact,I think you can give echo of the unit of the map a KEYID.This KEYID can be write in the Unit Class.And there will be many KeyID in the certain player's vision list.When the unit class is disposed ,remove the KeyID from the vision list.Now you can make sure that one Unit won't be add to list twice. Wish this Help . Best Regards.
-----Original Message----- Hi Menu Chen, Have an ICQ? mine is 94678098 -- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all from you ------------------------------
"Menu Chen" <an*******@discussions.microsoft.com> wrote
in messagenews:07****************************@phx.gbl... Finaly I know what you want to say. U mean,how to make sure whether Marine A is in Marine B's vision? I will think about it. Best regards.
>-----Original Message----- >That is not a problem, neither your english.. I understand it... >I just was looking for a way to filte only visible objects from a specific >player point of view > >-- >Ceers, > Crirus > >------------------------------ >If work were a good thing, the boss would take it all from you > >------------------------------ > >"Menu Chen" <an*******@discussions.microsoft.com> wrote in message >news:06****************************@phx.gbl... >> Oh,I see. >> I know now my solution is slow. >> Have you ever played a game by Blizzard called >> starcraft.Do you mean to make the effects like what it >> have done? I think ther original map is all visible for >> player.And when you place the black fog on it ,it will >> seem as if there is a vision for each unit.I mean there >> were be two layers on your program.One is covered by >> another. So ,you didn't have to check the array every >> time. Just place the fog one time and give the attention >> to each change. for example ,if a marine move , his vision >> will change withe him .And this time ,what you have to do >> all is change the array and modify the the upper layer.You >> don't have to redraw all the map now .In ohter words ,the >> fog Layer can be seen as a picture paint on black.And when >> you want to show the vision of a unit,just make modify the >> picture's by pixels. >> Say Sorry for my poor English again. >> Wish this help. >> Best Regards. >> >> >> >> >> >> >-----Original Message----- >> >And I only have to ckeck for each other object if it's >> location is 0 or 1 in >> >that array... good ideea >> > >> >This way, no need for GraphPath >> > >> >Say around, I may have some other q for you and seems you >> are up to date on >> >this issues :) >> > >> >Thanks >> > >> >-- >> >Ceers, >> > Crirus >> > >> >------------------------------ >> >If work were a good thing, the boss would take it all >> from you >> > >> >------------------------------ >> > >> >"Menu Chen" <an*******@discussions.microsoft.com> wrote >> in message >> >news:09****************************@phx.gbl... >> >> I am sorry I am not good at English. >> >> But I can still guess what you want to express. >> >> I can't express my thoughts clearly in English,so I try >> to >> >> use some Example. >> >> You can make a table of that map your have infered. >> >> This table have a X,Y location.An array can eailsy store >> >> it, A(640,480) restores an map's information which size >> >> is 640*480.If you have a unit Called marine ,it's vision >> >> sight is 10,and this marine's position is (400,300).Then >> >> for i=400-10 to 400+10 >> >> for j=300-10 to 300+10 >> >> If a(i,j)=0 then >> >> A(i,j)=1 >> >> End if >> >> next >> >> next >> >> If another Marine come to nearbY, you can do same >> >> operation too. >> >> Wish this can help you . >> >> >> >> >> >> Best Regards Menu Chen >> >> >> >> >> > >> > >> >. >> > > > >. >
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tony Clarke |
last post by:
Hi,
I'm trying to write a system thats used for about 50 clients that uses html
forms and php to log details. The problem is that when a client loads the
form page it's given a value which is...
|
by: Claudio Jolowicz |
last post by:
Is it possible to store unique objects in an STL container?
Suppose an object of class C is unique:
class C
{
public:
C() {}
~C() {}
private:
|
by: BVO |
last post by:
I need to keep track of my MDI child forms to activate
any one of them whenever I need to.
There are two possibilities as far as I can see:
- each forms index in the MDIChildren collection
-...
|
by: Kilroy Programmer |
last post by:
Is there a way to store a unique numeric identifier (say, for example,
an int) into a TreeNode, so that when the TreeNode is checked (since
CheckBoxes is enabled) the eventhandler AfterCheck() can...
|
by: Peter Oliphant |
last post by:
Sometimes it's hard to get straight when passing or storing or returning an
instance of a class whether you are still dealing with the original object
or a copy. For example, the '=' operator used...
|
by: Joseph Geretz |
last post by:
Of course, I can store a C# class instance to the Server Cache
(this.Context.Cache). I've tried it. My question is, will this destroy the
scalability of my application?
My background is VB6....
|
by: Rob Stevens |
last post by:
Is there some sort of unique identifier in every treenode
that is consistent? I was looking at the handle of every
treenode, but it appears that the handle changes everytime
the tree is built.
...
|
by: Benjamin |
last post by:
Is there a way to obtain a unique ID for the current thread? I have an
object that I need to store local thread data in, and I don't want to
use threading.local because each thread might have...
|
by: Matija Papec |
last post by:
I would like to be able to convert any reference (function, object, or
array) into unique string id and retrieve original reference afterwards
using same id.
The following code does this but...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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,...
|
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...
|
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...
| |